From: Bruno Haible Date: Tue, 17 Apr 2001 19:32:10 +0000 (+0000) Subject: Fix bug in autoconf-2.50 -> autoconf-2.13 backport. X-Git-Tag: v0.10.37~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f1eb9ca63f8eeae1e81ed7e1a5c96d9002d75f2;p=thirdparty%2Fgettext.git Fix bug in autoconf-2.50 -> autoconf-2.13 backport. --- diff --git a/m4/mbswidth.m4 b/m4/mbswidth.m4 index 74fce1b4e..0c6f4cb40 100644 --- a/m4/mbswidth.m4 +++ b/m4/mbswidth.m4 @@ -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 ])