diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-06-29 17:57:15 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-06-29 17:57:15 +0000 |
commit | 1512617f5e228a857b6b21eab302a7a62f7be9b6 (patch) | |
tree | 8cec2158a966b0efaea53d72f9ecc34b275f3a85 /configure.in | |
parent | 39bd7f893aa71381a0e5831a0af6aec7ebf3fe46 (diff) | |
download | navit-1512617f5e228a857b6b21eab302a7a62f7be9b6.tar.gz |
Fix:Build:Better xgettext glade support check
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3449 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9b6414a93..f9d734273 100644 --- a/configure.in +++ b/configure.in @@ -691,6 +691,7 @@ POFILES="" POIFILES="" LINGUAS="" +xgettext_glade=no if test "x$enable_nls" = "xyes"; then AC_CHECK_FUNC(gettext, [HAVEGETTEXT="yes"],[INTLIBS="-lintl" HAVEGETTEXT="yes"]) @@ -703,7 +704,9 @@ if test "x$enable_nls" = "xyes"; then echo "xgettext isn't GNU version" XGETTEXT="" else - AM_CONDITIONAL(XGETTEXT_GLADE, $XGETTEXT --help 2>&1 | grep Glade >/dev/null) + if $XGETTEXT --help 2>&1 | grep Glade >/dev/null; then + xgettext_glade=yes + fi fi fi @@ -753,6 +756,7 @@ fi fi AM_CONDITIONAL(ENABLE_NLS, [test "x$enable_nls" = "xyes"]) +AM_CONDITIONAL(XGETTEXT_GLADE, [test "x$xgettext_glade" = "xyes"]) AC_CHECK_HEADER( byteswap.h, AC_DEFINE( |