diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-10-05 12:33:33 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2006-10-05 12:33:33 +0000 |
commit | 1fead0aaa1b0c85616be12b5a520284e8fbef710 (patch) | |
tree | 2f1c0cf04405bc8728103d3f0c43cca208f8d4a8 | |
parent | eda089ee906aa9f9eab7818887ea6b31ecad39e8 (diff) | |
download | neon-1fead0aaa1b0c85616be12b5a520284e8fbef710.tar.gz |
* macros/neon.m4 (NEON_I18N): Really disable i18n if libintl.h is not
detected.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1080 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r-- | macros/neon.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4 index 59d67f8..8f8dd23 100644 --- a/macros/neon.m4 +++ b/macros/neon.m4 @@ -1108,11 +1108,12 @@ esac])]) AC_DEFUN([NEON_I18N], [ +dnl Check for NLS iff libintl.h was detected. AC_ARG_ENABLE(nls, AS_HELP_STRING(--disable-nls, [disable internationalization support]),, - [enable_nls=yes]) + [enable_nls=${ac_cv_header_libintl_h}]) -if test "x${enable_nls}${ac_cv_header_libintl_h}" = "xyesyes"; then +if test x${enable_nls} = xyes; then # presume that dgettext() is available if bindtextdomain() is... # checking for dgettext() itself is awkward because gcc has a # builtin of that function, which confuses AC_CHECK_FUNCS et al. |