You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Garrett Rooney <ro...@electricjellyfish.net> on 2001/11/18 16:37:20 UTC

Re: svn commit: rev 476 - trunk/ac-helpers

Joe,

I just played aroudn a little more with this (i can't test it
completely, but i tried making these changes directly in configure,
since i can't generate it from the m4 macros...  if i make this change
to SVN_NEON_INCLUDES, it wipes out all the -I's, including the ones we
need... (i can't see why though...)

if i apply a similar change to CFLAGS though (which is where the
-I/usr/include was slipping in from) it works fine.

hope this helps.

-garrett

On Sun, Nov 18, 2001 at 06:09:47AM -0600, joe@tigris.org wrote:
> Author: joe
> Date: 2001-11-18 12:09 GMT
> New Revision: 476
> 
> Modified:
>    trunk/ac-helpers/neon.m4
> Log:
> * neon.m4 (SVN_LIB_NEON): Remove -I/usr/include from SVN_NEON_INCLUDES.
> 
> 
> Modified: trunk/ac-helpers/neon.m4
> ==============================================================================
> --- OLD/trunk/ac-helpers/neon.m4	Sun Nov 18 06:09:47 2001
> +++ NEW/trunk/ac-helpers/neon.m4	Sun Nov 18 06:09:47 2001
> @@ -107,6 +107,12 @@
>          SVN_DOWNLOAD_NEON()
>        fi
>      fi
> +
> +    # neon should not add -I/usr/include to --cflags; remove this when it doesn't.
> +    # Leaving it in means a system DB3 etc could be picked up.
> +    SVN_NEON_INCLUDES=`echo $SVN_NEON_INCLUDES | sed -e "s|-I/usr/include ||g" \
> +                         -e "s|-I/usr/include$||g"`
> +
>    ])
>    
>    AC_SUBST(SVN_NEON_INCLUDES)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 476 - trunk/ac-helpers

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On Sun, Nov 18, 2001 at 11:37:20AM -0500, Garrett Rooney wrote:
> Joe,
> 
> I just played aroudn a little more with this (i can't test it
> completely, but i tried making these changes directly in configure,
> since i can't generate it from the m4 macros...  if i make this change
> to SVN_NEON_INCLUDES, it wipes out all the -I's, including the ones we
> need... (i can't see why though...)
> 
> if i apply a similar change to CFLAGS though (which is where the
> -I/usr/include was slipping in from) it works fine.

oops.  once i installed an updated autoconf and tried regenerating
configure myself with all your changes, it seems to work without
adding the check in CFLAGS for -I/usr/include.

thanks for handling this so quickly.

-garrett

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org