gnome-autogen: Do not use sed to get the AC_CONFIG_MACRO_DIR directory
authorJavier Jardón <javier.jardon@codethink.co.uk>
Thu, 18 Jul 2013 16:44:27 +0000 (17:44 +0100)
committerJavier Jardón <javier.jardon@codethink.co.uk>
Thu, 18 Jul 2013 16:44:53 +0000 (17:44 +0100)
macros2/gnome-autogen.sh

index a0566eb..c0c1b16 100644 (file)
@@ -430,7 +430,7 @@ for configure_ac in $configure_files; do
        # if the AC_CONFIG_MACRO_DIR() macro is used, create that directory
        # This is a automake bug fixed in automake 1.13.2
        # See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13514
-       m4dir=`autoconf --trace AC_CONFIG_MACRO_DIR | sed 's,^.*:,,g'`
+       m4dir=`autoconf --trace 'AC_CONFIG_MACRO_DIR:$1'`
        if [ -n "$m4dir" ]; then
            mkdir -p $m4dir
        fi