On Dec 11, 2006, at 3:21 AM, Bruce Korb wrote:
Hi Ralf, This is far too putrid to expect people to spin off of the top of their heads. I think it is Darwin's fault that it is so hard, but autoconf should include this macro so that folks-other-than-gurus can successfully cope with wint_t. Thanks - Bruce AC_DEFUN([AC_WINT_T],[ AC_CHECK_HEADERS([runetype.h wchar.h]) AC_CHECK_TYPE(wint_t, [], [ AC_DEFINE_UNQUOTED([wint_t], [unsigned int], [Define to `unsigned int' if not found])], [ AC_INCLUDES_DEFAULT #if HAVE_RUNETYPE_H # include <runetype.h> #endif #if HAVE_WCHAR_H # include <wchar.h> #endif ])])
I don't understand the issue, on both Mac OS X 10.4.8 ppc and intel I can do:
$ cat wint_t.c #include <wchar.h> wint_t a =0; $ gcc -c wint_t.c Without warnings or errors. Peter _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf