Run intltool before autoreconf so intltool.m4 is picked up by aclocal.
authorSeán de Búrca <leftmostcat@gmail.com>
Tue, 27 Aug 2013 13:55:53 +0000 (07:55 -0600)
committerSeán de Búrca <leftmostcat@gmail.com>
Tue, 27 Aug 2013 13:55:53 +0000 (07:55 -0600)
https://bugzilla.gnome.org/show_bug.cgi?id=705365

macros2/gnome-autogen.sh

index 202c805..ee4b937 100644 (file)
@@ -404,16 +404,16 @@ for configure_ac in $configure_files; do
            $GNOME_DOC_PREPARE --force --copy || exit 1
        fi
 
-       # Now that all the macros are sorted, run autoreconf ...
-       printbold "Running autoreconf..."
-       autoreconf --verbose --force --install -Wno-portability || exit 1
-
        if grep "^AC_PROG_INTLTOOL" $basename >/dev/null ||
            grep "^IT_PROG_INTLTOOL" $basename >/dev/null; then
            printbold "Running $INTLTOOLIZE..."
            $INTLTOOLIZE --force --copy --automake || exit 1
        fi
 
+       # Now that all the macros are sorted, run autoreconf ...
+       printbold "Running autoreconf..."
+       autoreconf --verbose --force --install -Wno-portability || exit 1
+
        cd "$topdir"
     fi
 done