autoconf
[Top][All Lists]
Advanced

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

Re: Relative path in CPPFLAGS and distcheck


From: Bob Friesenhahn
Subject: Re: Relative path in CPPFLAGS and distcheck
Date: Sat, 4 Dec 2004 20:14:04 -0600 (CST)

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
placing an absolute path there?  I've tried a couple of different
methods, but no luck.

Try:

CPPFLAGS="${srcdir}/includes"
AC_SUBST(CPPFLAGS)

Also, is it perfectly legit to list these files in the top-level
Makefile.am as EXTRA_DIST, rather than explicitly listing this
subdirectory, adding a Makefile.am there, ... since there's
nothing to build there?

It it works, then it must be legit, otherwise no. :-)

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]