[gnome-common] gnome-autogen.sh: run glib-gettexize if using GLib gettext



commit d04839754bbbb6ffed9c4641fed801b586944820
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Jul 22 16:22:38 2013 +0100

    gnome-autogen.sh: run glib-gettexize if using GLib gettext
    
    This code was removed by error in
    commit 323bbfe0989405725379cada1aa5cb361fd2999f

 macros2/gnome-autogen.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index d54bc04..202c805 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -385,6 +385,11 @@ for configure_ac in $configure_files; do
            mkdir -p $m4dir
        fi
 
+       if grep "^AM_GLIB_GNU_GETTEXT" $basename >/dev/null; then
+          printbold "Running $GLIB_GETTEXTIZE... Ignore non-fatal messages."
+          echo "no" | $GLIB_GETTEXTIZE --force --copy || exit 1
+       fi
+
        if grep "^GTK_DOC_CHECK" $basename >/dev/null; then
            printbold "Running $GTKDOCIZE..."
            $GTKDOCIZE --copy || exit 1


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