You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2001/04/06 14:37:23 UTC

Re: cvs commit: apr/build apr_common.m4 apr_hints.m4 apr_network.m4 rules.mk.in

fielding@apache.org wrote:
[cut]
>   1.4       +4 -3      apr/build/rules.mk.in
> 
>   Index: rules.mk.in
>   ===================================================================
>   RCS file: /home/cvs/apr/build/rules.mk.in,v
>   retrieving revision 1.3
>   retrieving revision 1.4
>   diff -u -r1.3 -r1.4
>   --- rules.mk.in       2001/03/07 22:09:16     1.3
>   +++ rules.mk.in       2001/04/03 00:02:02     1.4
>   @@ -68,8 +68,9 @@
>    AWK=@AWK@
>    LIBTOOL=@LIBTOOL@
> 
>   -CFLAGS=@CFLAGS@ @OPTIM@
>   -CPPFLAGS=@CPPFLAGS@ $(INCLUDES)
>   +CFLAGS=@CFLAGS@
>   +OPTIM=@OPTIM@
>   +CPPFLAGS=@CPPFLAGS@
>    LIBS=@LIBS@
>    LDFLAGS=@LDFLAGS@
> 
>   @@ -82,7 +83,7 @@
>    #
>    # Basic macro setup
>    #
>   -COMPILE      = $(CC) $(CPPFLAGS) $(CFLAGS)
>   +COMPILE      = $(CC) $(CPPFLAGS) $(CFLAGS) $(OPTIM) $(INCLUDES)
>    LT_COMPILE   = $(LIBTOOL) --mode=compile $(LTFLAGS) $(COMPILE) -c $< && touch $@
> 
>    LINK         = $(LIBTOOL) --mode=link $(LTFLAGS) $(COMPILE) $(LDFLAGS) -o $@
> 
> 
>
Hi,
 
This brokes configure when using CFLAGS=-I/usr/local/include and when
/usr/local/include contains a file that have the name of an APR include (In my
case mm.h and it is a old version of our mm.h).
I will change the order of the flags in COMPILE.

Cheers

Jean-frederic