All pastes #693950 Raw Edit

Unnamed

public text v1 · immutable
#693950 ·published 2007-09-12 14:44 UTC
rendered paste body
=== configure.in
==================================================================
--- configure.in	(revision 15115)
+++ configure.in	(local)
@@ -884,6 +884,19 @@
   [  --enable-locale-specific-tax enable localized tax categories (experimental)],
   AC_DEFINE(LOCALE_SPECIFIC_TAX,1,Enable the experimental locale-specific tax categories) )
 
+dnl Make sure we have a proper gettext installed
+AC_MSG_CHECKING(for gmsgfmt)
+if test "$gt_cv_have_gettext" = "yes"; then
+  if test "x$GMSGFMT" = "x"; then
+    AC_MSG_RESULT(no)
+    AC_MSG_ERROR([Cannot find Glib Gettext.  Maybe you need to install the gettext package?])
+  else
+    AC_MSG_RESULT($GMSGFMT)
+  fi
+else
+  AC_MSG_RESULT([none needed -- HAVE_GETTEXT is false])
+fi
+
 ### --------------------------------------------------------------------------
 ### help files