Re: Relative path in CPPFLAGS and distcheck

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

 



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
bfriesen@xxxxxxxxxxxxxxxxxxx
http://www.simplesystems.org/users/bfriesen


_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux