@@ -18,13 +18,16 @@ ]) dnl Determine how to create static archives on this platform AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(RANLIB, ranlib) + +dnl Determine how to strip executables +AC_CHECK_TOOL(STRIP, strip) dnl Check for all required headers -AC_CHECK_HEADERS(arpa/inet.h inttypes.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/socket.h sys/types.h sys/un.h unistd.h pthread.h zlib.h,,[ +AC_CHECK_HEADERS(arpa/inet.h inttypes.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/socket.h sys/types.h sys/un.h unistd.h pthread.h zlib.h limits.h,,[ AC_WARN([Required header missing, compilation will likely fail.]) ], [ #ifdef HAVE_ARPA_INET_H # include #endif @@ -59,10 +62,13 @@ # include #endif #ifdef HAVE_PTHREAD_H # include #endif +#ifdef HAVE_LIMITS_H +# include +#endif #ifdef HAVE_ZLIB_H # include #endif ])