From fb9023329d581d156a1c77a9066e7a9e9726d240 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Fri, 11 Feb 2005 09:02:47 +0000 Subject: 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 --- doc/usage.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/usage.txt b/doc/usage.txt index 7e84ec06..ff7c2550 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. -- cgit v1.2.1