On Wed, Oct 23, 2002 at 03:19:57PM +0200, Oliver Braun wrote:
BTW, I am no auto{conf|make|...} crack, but on FreeBSD HAVE_LIMITS_H is not defined, but limits.h has to be included for building ffihugs without errors. I use something like s/#ifdef HAVE_LIMITS_H/#if defined(__FreeBSD__)/ for the FreeBSD port, but maybe there will be a better solution (a config.h file for FreeBSD or something)
This one is already fixed in CVS: limits.h is missing from the list of header files in AC_CHECK_HEADERS in src/unix/configure.in -- the fix is to add it and rerun autoheader and autoconf. Unfortunately configure.in doesn't work with newer versions of autoheader (2.50+); if that's all you have, you'll have to add /* Define if you have the <limits.h> header file. */ #undef HAVE_LIMITS_H to src/config.in by hand. Autoconf should be fine, though.