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 ])]) _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf