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
+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.
+
2004-10-27 James Henstridge <james@jamesh.id.au>
* gnome-autogen.sh (ACLOCAL): if AC_CONFIG_MACRO_DIR() is used in
# 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