X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=acinclude.m4;h=cac7f218af87907aa481b590d6796e8384aea22a;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=f686739fa1a56d6184bdd3e9c77cb789b37b155f;hpb=79bdb0d572ae9f767062315aae28724be819307e;p=platform%2Fupstream%2Fglib.git diff --git a/acinclude.m4 b/acinclude.m4 index f686739..cac7f21 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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