]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix bug in autoconf-2.50 -> autoconf-2.13 backport.
authorBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 19:32:10 +0000 (19:32 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Apr 2001 19:32:10 +0000 (19:32 +0000)
m4/mbswidth.m4

index 74fce1b4e40b476d94c1480fa4d3a059e50d6080..0c6f4cb4032858537390b3d3dd40b938650fbe6c 100644 (file)
@@ -21,9 +21,12 @@ AC_DEFUN(jm_PREREQ_MBSWIDTH,
 #endif
 ], ac_cv_have_decl_wcwidth=yes, ac_cv_have_decl_wcwidth=no)])
   if test $ac_cv_have_decl_wcwidth = yes; then
-    AC_DEFINE(HAVE_DECL_WCWIDTH, 1,
-      [Define to 1 if you have the declaration of wcwidth().])
+    ac_val=1
+  else
+    ac_val=0
   fi
+  AC_DEFINE_UNQUOTED(HAVE_DECL_WCWIDTH, $ac_val,
+    [Define to 1 if you have the declaration of wcwidth(), and to 0 otherwise.])
 
   AC_MBSTATE_T
 ])