This is the mail archive of the
automake-prs@sourceware.org
mailing list for the automake project.
Re: automake/500: unnecessary -I options in DEFAULT_INCLUDES (make clutter)
- From: Paul Eggert <eggert at CS dot UCLA dot EDU>
- To: adl at sources dot redhat dot com
- Cc: automake-prs at sources dot redhat dot com,
- Date: 30 Aug 2006 17:01:01 -0000
- Subject: Re: automake/500: unnecessary -I options in DEFAULT_INCLUDES (make clutter)
- Reply-to: Paul Eggert <eggert at CS dot UCLA dot EDU>
The following reply was made to PR automake/500; it has been noted by GNATS.
From: Paul Eggert <eggert@CS.UCLA.EDU>
To: Alexandre Duret-Lutz <adl@src.lip6.fr>
Cc: automake-patches@gnu.org, automake-gnats@sources.redhat.com
Subject: Re: automake/500: unnecessary -I options in DEFAULT_INCLUDES (make clutter)
Date: Wed, 30 Aug 2006 09:55:49 -0700
Alexandre Duret-Lutz <adl@src.lip6.fr> writes:
> So how about something like this instead: use `-I.@am__isrc@' and expand
> it to `-I.' or `-I. -I$(srcdir)' as needed?
Yes, thanks, that looks nice. For CVS coreutils/lib in-place builds
with 'configure CFLAGS=' the patch changes this:
gcc -std=gnu99 -I. -I. -I. -c base64.c
to this:
gcc -std=gnu99 -I. -c base64.c
I'd also like to remove those unnecessary and distracting spaces, but
that's for a later patch.