gnumeric/gnumeric-configure.patch

28 lines
973 B
Diff

diff --git a/configure.ac b/configure.ac
index fa55a76..13aba8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -245,6 +245,11 @@ AC_CHECK_PROG(GLIB_GENMARSHAL, glib-genmarshal$ac_exeext, glib-genmarshal$ac_exe
AC_ARG_VAR(GDK_PIXBUF_CSOURCE, [The gdk-pixbuf-csource executable.])
AC_CHECK_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource$ac_exeext, gdk-pixbuf-csource$ac_exeext)
+AC_SUBST(GETTEXT_PACKAGE, gnumeric)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
+ [The package name, for gettext])
+AM_GLIB_GNU_GETTEXT
+
## this should come after `AC_PROG_CC'
ifdef([GNOME_COMPILE_WARNINGS],
[GNOME_COMPILE_WARNINGS] CFLAGS="$CFLAGS $WARN_CFLAGS",
@@ -502,10 +507,6 @@ for lang in $ALL_LINGUAS; do
done
AC_SUBST(POFILES_FULL)
-AC_SUBST(GETTEXT_PACKAGE, gnumeric)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
- [The package name, for gettext])
-AM_GLIB_GNU_GETTEXT
dnl
dnl Code to handle po-functions/Makefile* and po-functions/POTFILES*
dnl