[goffice] Configure: fix locale directory problem.



commit adb56710b8b9d2812b0643a55744d33a786541c7
Author: Morten Welinder <terra gnome org>
Date:   Sat Mar 30 21:56:28 2013 -0400

    Configure: fix locale directory problem.

 NEWS         |    3 +++
 configure.ac |   14 ++++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/NEWS b/NEWS
index f36523e..db26cd3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 goffice 0.10.2:
 
+Dominique Leuenberger:
+       * Fix locale directory.
+
 Jean:
        * Don't use uninitialized values in bar/column plots. [#696569]
        * Fix currency selector visibility. [#696647]
diff --git a/configure.ac b/configure.ac
index b9ef2f4..dd57761 100644
--- a/configure.ac
+++ b/configure.ac
@@ -389,6 +389,14 @@ GOFFICE_PLUGIN_LIBADD="\$(top_builddir)/goffice/libgoffice-\$(GOFFICE_API_VER).l
 AC_SUBST(GOFFICE_PLUGIN_LDFLAGS)
 AC_SUBST(GOFFICE_PLUGIN_LIBADD)
 
+dnl **************************************************
+dnl This needs to be done before we add aggressive -Werror=foo flags
+dnl below.
+AC_SUBST(GETTEXT_PACKAGE, goffice-${VERSION})
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
+       [The package name, for gettext])
+AM_GLIB_GNU_GETTEXT
+
 dnl ****************************
 dnl prep the pixmap generator
 dnl ****************************
@@ -485,12 +493,6 @@ if test $works_without_bsd_source = no ; then
        fi
 fi
 
-dnl **************************************************
-AC_SUBST(GETTEXT_PACKAGE, goffice-${VERSION})
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
-       [The package name, for gettext])
-AM_GLIB_GNU_GETTEXT
-
 dnl
 dnl On Solaris finite() needs ieeefp.h
 dnl Either of these seem to signal IEEE754 math, see goffice/math/go-math.c


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