summaryrefslogtreecommitdiff
path: root/macros2/gnome-autogen.sh
diff options
context:
space:
mode:
authorJames Henstridge <james@jamesh.id.au>2004-10-28 09:49:49 +0000
committerJames Henstridge <jamesh@src.gnome.org>2004-10-28 09:49:49 +0000
commit1f8e2e6d8f103f543ac31db0403be26243a52902 (patch)
tree2a82b1972db71d0164a4bea1b610426324e40acd /macros2/gnome-autogen.sh
parent7dcafe978122d9b769dbe5a5ee72db8491b2b52a (diff)
downloadshared-mime-info-1f8e2e6d8f103f543ac31db0403be26243a52902.tar.gz
fix up the AC_CONFIG_MACRO_DIR check to work with sub-package
2004-10-28 James Henstridge <james@jamesh.id.au> * gnome-autogen.sh (m4dir): fix up the AC_CONFIG_MACRO_DIR check to work with sub-package configure.in's. svn path=/trunk/; revision=3479
Diffstat (limited to 'macros2/gnome-autogen.sh')
-rw-r--r--macros2/gnome-autogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index c3173b2e..4ad6b89e 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -378,7 +378,7 @@ for configure_ac in $configure_files; do
# if the AC_CONFIG_MACRO_DIR() macro is used, pass that
# directory to aclocal.
- m4dir=`cat "$configure_ac" | grep '^AC_CONFIG_MACRO_DIR' | sed -n -e 's/AC_CONFIG_MACRO_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q`
+ m4dir=`cat "$basename" | grep '^AC_CONFIG_MACRO_DIR' | sed -n -e 's/AC_CONFIG_MACRO_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q`
if [ -n "$m4dir" ]; then
m4dir="-I $m4dir"
fi