]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Installation Directory Variables):
authorAkim Demaille <akim@epita.fr>
Tue, 1 Aug 2000 08:21:38 +0000 (08:21 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 1 Aug 2000 08:21:38 +0000 (08:21 +0000)
Clarifications and typos.

ChangeLog
THANKS
doc/autoconf.texi

index 057171fc720e1654ac0706df43c4e75e70323093..133486130b0df3296f9a2d2720a01dc34a7b67d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-01  Greg A. Woods  <woods@weird.com>
+
+       * doc/autoconf.texi (Installation Directory Variables):
+       Clarifications and typos.
+
 2000-08-01  Didier Verna  <didier@lrde.epita.fr>
 
        * acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
diff --git a/THANKS b/THANKS
index 9e20447415b6fd13641c0f44562841e373997ad6..f9e4a5d62d8697abc56fd9c0ee028b554cbb4e0d 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -42,6 +42,7 @@ Glenn P. Davis                davis@unidata.ucar.edu
 Godmar Back            gback@cs.utah.edu
 Gordon Matzigkeit      gord@trick.fig.org
 Graham Jenkins          c714553@vus415.telstra.com.au
+Greg A. Woods           woods@weird.com
 Guido Flohr            gufl0000@stud.uni-sb.de
 Guillermo Gomez                gomez@mi.uni-erlangen.de
 Hans Olsson            Hans.Olsson@dna.lth.se
index e08375c257e1fa942e5ec5b97e16445f792fe16e..407bfc8e67a4e55825cdf55e07f7b23170962f50 100644 (file)
@@ -1812,12 +1812,12 @@ current value of @code{prefix}.
 A corollary is that you should not use these variables but in
 Makefiles.  For instance instead of trying to resolve the dependencies
 of @code{datadir} upon @code{prefix} and using
-@samp{AC_DEFINE_UNQUOTED(DATADIR, $datadir)}, you should add
-@samp{-DDATADIR=$(datadir)} to your @code{CFLAGS}.
+@samp{AC_DEFINE_UNQUOTED(DATADIR, "$datadir")}, you should add
+@samp{-DDATADIR="$(datadir)"} to your @code{CFLAGS}.
 
 Similarly you should not rely on @code{AC_OUTPUT_FILES} to replace
 @code{datadir} and friends in your shell scripts and other files, rather
-let @command{make} their replacement.  For instance Autoconf ships
+let @command{make} manage their replacement.  For instance Autoconf ships
 templates of its shell scripts ending with @samp{.sh}, and uses this
 Makefile snippet:
 
@@ -1834,13 +1834,15 @@ Three things are noteworthy:
 @table @samp
 @item @@datadir\@@
 The backslash prevents @command{configure} from replacing
-@samp{@@datadir@@}.
+@samp{@@datadir@@} in the sed expression itself.
 
 @item $(pkgdatadir)
-Don't use @samp{@@datadir@@}!
+Don't use @samp{@@pkgdatadir@@}!  Use the matching makefile variable
+instead.
 
 @item ,
-Don't use @samp{/} since most probably @samp{$(pkgdatadir)} will have
+Don't use @samp{/} in the sed expression(s) since most probably the
+variables you use, such as @samp{$(pkgdatadir)}, will contain
 some.
 @end table