r16526 - gnucash/trunk - Make sure we have a valid gettext usermode when building (#476189)

Derek Atkins warlord at cvs.gnucash.org
Wed Sep 12 11:56:05 EDT 2007


Author: warlord
Date: 2007-09-12 11:56:04 -0400 (Wed, 12 Sep 2007)
New Revision: 16526
Trac: http://svn.gnucash.org/trac/changeset/16526

Modified:
   gnucash/trunk/
   gnucash/trunk/configure.in
Log:
Make sure we have a valid gettext usermode when building (#476189)
Test that HAVE_GETTEXT is true and we can find gmsgfmt.  Bomb
out of configure if either fails, because the build will fail later.



Property changes on: gnucash/trunk
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:1037
57a11ea4-9604-0410-9ed3-97b8803252fd:/gnucash/branches/gobject-engine-dev-warlord:15827
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/gobject-engine-dev-warlord:14369
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/gobject-engine-dev-warlord1:14446
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:14601
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:15000
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:1037
57a11ea4-9604-0410-9ed3-97b8803252fd:/gnucash/branches/gobject-engine-dev-warlord:15827
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/gobject-engine-dev-warlord:14369
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/gobject-engine-dev-warlord1:14446
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:14601
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:15116

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2007-09-12 03:19:07 UTC (rev 16525)
+++ gnucash/trunk/configure.in	2007-09-12 15:56:04 UTC (rev 16526)
@@ -884,6 +884,15 @@
   [  --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 a valid gettext/gmsgfmt installation)
+if test "$gt_cv_have_gettext" != "yes" || 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(yes - $GMSGFMT)
+fi
+
 ### --------------------------------------------------------------------------
 ### help files
 



More information about the gnucash-changes mailing list