Looks like the libopts tearoff included in Autogen 5.9.7 is missing the necessary code to detect wint_t and size_t in the m4/libopts.m4 code. I ended up stealing the following lines from snprintfv.m4 and adding it to my base configure.ac to remove the errors:
AC_CHECK_TYPES(size_t) # ---------------------------------------------------------------------- # check for various programs used during the build. # On OS/X, "wchar.h" needs "runetype.h" to work properly. # ---------------------------------------------------------------------- AC_CHECK_HEADERS([runetype.h wchar.h], [], [],[ AC_INCLUDES_DEFAULT #if HAVE_RUNETYPE_H # include <runetype.h> #endif ]) # ---------------------------------------------------------------------- # Checks for typedefs # ---------------------------------------------------------------------- AC_CHECK_TYPES(wchar_t) AC_CHECK_TYPES(wint_t, [], [], [ AC_INCLUDES_DEFAULT #if HAVE_RUNETYPE_H # include <runetype.h> #endif #if HAVE_WCHAR_H # include <wchar.h> #endif ]) -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------------ _______________________________________________ Autogen-users mailing list Autogen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/autogen-users