[gnome-common] gnome-autogen: Do not use sed to get the AC_CONFIG_MACRO_DIR directory



commit 9739c718813dff951c4201e06e8f3e64036ed37e
Author: Javier Jardón <javier jardon codethink co uk>
Date:   Thu Jul 18 17:44:27 2013 +0100

    gnome-autogen: Do not use sed to get the AC_CONFIG_MACRO_DIR directory

 macros2/gnome-autogen.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index a0566eb..c0c1b16 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]