From 83ec08fdbfa40235a3a139dd46188a0ec489b225 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 30 Jul 2005 13:47:19 +0000 Subject: [PATCH] -Itop_builddir/lib too --- doc/ChangeLog | 5 +++++ doc/gnulib.texi | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 6b63c70f58..4cb570fd4c 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-30 Karl Berry + + * gnulib.texi (Initial import): mention -I$(top_builddir)/lib. + Report from Ben Pfaff, regarding getopt. + 2005-07-24 Bruno Haible * visibility.texi: New file. diff --git a/doc/gnulib.texi b/doc/gnulib.texi index cc826994de..b3b09dc285 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -1,5 +1,5 @@ \input texinfo @c -*-texinfo-*- -@comment $Id: gnulib.texi,v 1.14 2005-07-27 00:16:01 karl Exp $ +@comment $Id: gnulib.texi,v 1.15 2005-07-30 13:47:19 karl Exp $ @comment %**start of header @setfilename gnulib.info @settitle GNU Gnulib @@ -7,7 +7,7 @@ @syncodeindex pg cp @comment %**end of header -@set UPDATED $Date: 2005-07-27 00:16:01 $ +@set UPDATED $Date: 2005-07-30 13:47:19 $ @copying This manual is for GNU Gnulib (updated @value{UPDATED}), @@ -523,12 +523,14 @@ SUBDIRS += gl @end example Finally, you have to add compiler and linker flags in the appropriate -source directories, so that you can make use -of the gnulib library. For example: +source directories, so that you can make use of the gnulib library. +Since some modules (@samp{getopt}, for example) may copy files into +the build directory, @file{top_builddir/lib} is needed as well +as @file{top_srcdir/lib}. For example: @example ... -AM_CPPFLAGS = -I$(top_srcdir)/lib +AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib ... LIBADD = lib/libgnu.a ... -- 2.30.2