Quote the first argument in each use of AC_DEFUN.
[gnulib.git] / m4 / mbstate_t.m4
index 1816102..ae2bcf1 100644 (file)
@@ -1,4 +1,4 @@
-# serial 7
+# serial 9
 
 # From Paul Eggert.
 
@@ -10,7 +10,7 @@
 # (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
 # a syntax error in wchar.h due to the use of undefined __int32_t.
 
-AC_DEFUN(AC_MBSTATE_T,
+AC_DEFUN([AC_MBSTATE_T],
   [
    AC_CHECK_HEADERS(stdlib.h)
 
@@ -24,6 +24,6 @@ AC_DEFUN(AC_MBSTATE_T,
       ac_cv_type_mbstate_t=yes,
       ac_cv_type_mbstate_t=no)])
    if test $ac_cv_type_mbstate_t = no; then
-     AC_DEFINE(mbstate_t, char,
+     AC_DEFINE(mbstate_t, int,
               [Define to a type if <wchar.h> does not define.])
    fi])