bug-gnulib
[Top][All Lists]
Advanced

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

$(top_builddir)/lib should also be in the include path


From: Ben Pfaff
Subject: $(top_builddir)/lib should also be in the include path
Date: Fri, 29 Jul 2005 22:10:15 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

The gnulib manual notes that $(top_srcdir)/lib should be in the
include path:

    Finally, you have add C flags and LD flags, so that you can make
    use of the gnulib library. For example:

         ...
         AM_CPPFLAGS = -I$(top_srcdir)/lib
         ...

However, it neglects to add that, because modules such as getopt
may copy files into the build directory, $(top_builddir)/lib
should also be added to the include path.
-- 
"J'avais trouv'e ma religion :
 rien ne me parut plus important qu'un livre.
 La biblioth`eque, j'y voyais un temple."
--Jean-Paul Sartre





reply via email to

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