Ilya Zakharevich on Thu, 24 Nov 2005 03:32:10 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Configure bug when CPPFLAGS is set


On Wed, Nov 02, 2005 at 04:28:16AM +0100, Vincent Lefevre wrote:
> --- config/get_readline.orig	2005-11-02 03:50:33.000000000 +0100
> +++ config/get_readline	2005-11-02 03:50:45.000000000 +0100
> @@ -31,7 +31,7 @@
>        $cygtop/usr/include\
>        $cygtop/H-${arch}-cygwin32/${arch}-cygwin32/include\
>        ";;
> -    *) incpth="\
> +    *) incpth="`echo $C_INCLUDE_PATH | sed -e 's%\([^:]*\):*%\1 \1/readline %g'`\
>        /usr/local/include/readline\
>        /usr/include/readline\
>        /opt/include/readline\

This assumes C_INCLUDE_PATH is :-delimited.  It is not on DOSHISH
systems.

Hope this helps,
Ilya