summaryrefslogtreecommitdiff
path: root/m4/gettext.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-11-21 12:38:14 +0000
committerBruno Haible <bruno@clisp.org>2006-11-21 12:38:14 +0000
commit475e690334dd7ea3ed96a0a6bd58a544566930e6 (patch)
treee13e79d3eb653be17b95968af92c3d0b07bfb0c7 /m4/gettext.m4
parentf8a6c13af52d84516816b590c5d63cc91c8d27d2 (diff)
downloadgnulib-475e690334dd7ea3ed96a0a6bd58a544566930e6.tar.gz
Fix bug that caused AM_GNU_GETTEXT([external], [need-formatstring-macros])
to not recognize glibc or external libintl.
Diffstat (limited to 'm4/gettext.m4')
-rw-r--r--m4/gettext.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index b5ce322fb1..91c345e992 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -1,4 +1,4 @@
-# gettext.m4 serial 58 (gettext-0.16)
+# gettext.m4 serial 59 (gettext-0.16.1)
dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -137,12 +137,14 @@ AC_DEFUN([AM_GNU_GETTEXT],
dnl to fall back to GNU NLS library.
if test $gt_api_version -ge 3; then
- gt_revision_test_code='[[
+ gt_revision_test_code='
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
#endif
+changequote(,)dnl
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
-]]'
+changequote([,])dnl
+'
else
gt_revision_test_code=
fi