summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Henstridge <jamesh@src.gnome.org>2005-02-11 09:02:47 +0000
committerJames Henstridge <jamesh@src.gnome.org>2005-02-11 09:02:47 +0000
commitfb9023329d581d156a1c77a9066e7a9e9726d240 (patch)
treefffcceb2608ca15100229f56cd338f371abdff12
parentc28f9bbb582a679ede9198e89fa999b4bc962cd9 (diff)
downloadgnome-common-fb9023329d581d156a1c77a9066e7a9e9726d240.tar.gz
update usage with a note about adding the macro dir to ACLOCAL_AMFLAGS if
AC_CONFIG_MACRO_DIR is being used. svn path=/trunk/; revision=3489
-rw-r--r--doc/usage.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/usage.txt b/doc/usage.txt
index 7e84ec0..ff7c255 100644
--- a/doc/usage.txt
+++ b/doc/usage.txt
@@ -30,8 +30,10 @@ Then put the following in your configure.ac or configure.in file:
This macro is equivalent to the following two lines (which you can use
instead if you don't want to depend on gnome-common macros):
- ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
- AC_SUBST([ACLOCAL_AMFLAGS])
+ AC_SUBST([ACLOCAL_AMFLAGS], ["\${ACLOCAL_FLAGS}"])
+
+Or if you are using the AC_CONFIG_MACRO_DIR macro:
+ AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \${ACLOCAL_FLAGS}"])
This will make sure that autoconf macros will be found when you
rebuild the package without rerunning autogen.sh.