mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16526 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6fb3651d09
commit
80c5c1fb80
@ -884,6 +884,15 @@ AC_ARG_ENABLE( locale-specific-tax,
|
||||
[ --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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user