Re: Relative path in CPPFLAGS and distcheck

2004-12-05 Thread Robert Lowe
Alexandre Duret-Lutz wrote: [Please reply to [EMAIL PROTECTED] "Robert" == Robert Lowe <[EMAIL PROTECTED]> writes: Robert> Hi! Robert> I have a set of common headers files in includes/ and the following Robert> line in configure.ac: Robert> AC_SUBST(CPPFLAGS,[-I../includes]) Should be AC_S

Re: Relative path in CPPFLAGS and distcheck

2004-12-05 Thread Steven G. Johnson
Bob Friesenhahn wrote: CPPFLAGS="${srcdir}/includes" AC_SUBST(CPPFLAGS) Overridding the user CPPFLAGS is a bad idea. In your Makefile.am, use: AM_CPPFLAGS = -I$(top_srcdir)/includes ___ Autoconf mailing list [EMAIL PROTECTED] http://lists.gnu.or

Re: Relative path in CPPFLAGS and distcheck

2004-12-05 Thread Alexandre Duret-Lutz
[Please reply to [EMAIL PROTECTED] >>> "Robert" == Robert Lowe <[EMAIL PROTECTED]> writes: Robert> Hi! Robert> I have a set of common headers files in includes/ and the following Robert> line in configure.ac: Robert> AC_SUBST(CPPFLAGS,[-I../includes]) Should be AC_SUBST([AM_CPPFLAGS], ['

Re: Relative path in CPPFLAGS and distcheck (fwd)

2004-12-04 Thread Robert Lowe
Daniel Reed wrote: On 2004-12-04T21:11-0600, Robert Lowe wrote: ) > CPPFLAGS="${srcdir}/includes" ) > AC_SUBST(CPPFLAGS) ) No, that didn't quite do it, even with -I. It substitutes './includes', ) and caused the next AC_CHECK_LIB() to fail, which I found curious. I ) also tried abs_top_builddir

Re: Relative path in CPPFLAGS and distcheck

2004-12-04 Thread Robert Lowe
Bob Friesenhahn wrote: > On Sat, 4 Dec 2004, Robert Lowe wrote: > >> Hi! >> >> I have a set of common headers files in includes/ and the following >> line in configure.ac: >> >> AC_SUBST(CPPFLAGS,[-I../includes]) >> >> ...since all source files are in parallel directories. This works >> fine for e

Re: Relative path in CPPFLAGS and distcheck

2004-12-04 Thread Bob Friesenhahn
On Sat, 4 Dec 2004, Robert Lowe wrote: Hi! I have a set of common headers files in includes/ and the following line in configure.ac: AC_SUBST(CPPFLAGS,[-I../includes]) ...since all source files are in parallel directories. This works fine for everything but a distcheck. Is there a simple means of

Relative path in CPPFLAGS and distcheck

2004-12-04 Thread Robert Lowe
Hi! I have a set of common headers files in includes/ and the following line in configure.ac: AC_SUBST(CPPFLAGS,[-I../includes]) ...since all source files are in parallel directories. This works fine for everything but a distcheck. Is there a simple means of placing an absolute path there? I've