This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken by ppl/cloog config problem: finds non-system/non-standard "/include" dir
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 06 May 2009 16:03:54 +0100
- Subject: Re: Bootstrap broken by ppl/cloog config problem: finds non-system/non-standard "/include" dir
- References: <4A019593.8090406@gmail.com> <m2vdoejo7u.fsf@igel.home>
Andreas Schwab wrote:
> Dave Korn <dave.korn.cygwin@googlemail.com> writes:
>
>> I'm about to start looking through the config logs; if anyone knows anything
>> or has any ideas about this, please share!
>
> The problem is here in toplevel configure.ac:
>
> case $with_ppl in
> no)
> ppllibs=
> ;;
> *)
> ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
> pplinc="-I$with_ppl/include $pplinc"
> LIBS="$ppllibs $LIBS"
> ;;
> esac
>
> If --with-ppl was not given then $with_ppl is empty.
Heh, I was just about to post that, only I was looking at $clooginc rather
than $pplinc! The same problem exists for both; I'm pretty sure we should
fall back on $prefix if the --with option is empty.
Unless you're already on it, I'll post a patch shortly.
cheers,
DaveK