cleanup
[platform/upstream/glib.git] / acinclude.m4
index f686739..cac7f21 100644 (file)
@@ -23,6 +23,16 @@ doit(char * s, ...)
   if (r != 7)
     exit(1);
 
+  /* AIX 5.1 and Solaris seems to have a half-baked vsnprintf()
+     implementation. The above will return 7 but if you replace
+     the size of the buffer with 0, it borks! */
+  va_start(args, s);
+  r = vsnprintf(buffer, 0, s, args);
+  va_end(args);
+
+  if (r != 7)
+    exit(1);
+
   exit(0);
 }
 
@@ -436,3 +446,7 @@ AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
 ])
 
 
+m4_include(acglib.m4)dnl
+m4_include(glib/libcharset/codeset.m4)dnl
+m4_include(glib/libcharset/glibc21.m4)dnl
+m4_include(m4macros/glib-gettext.m4)dnl