X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/de0ef46ee9c9089a5a787fd1cd5f27ca475fc0be..1f389ba56131238fd101fda7fdf73304f0d84932:/configure.ac diff --git a/configure.ac b/configure.ac index 11085e0..dd46045 100644 --- a/configure.ac +++ b/configure.ac @@ -526,7 +526,8 @@ fi if test $want_coreaudio = yes; then AC_CHECK_HEADERS([CoreAudio/AudioHardware.h]) fi -AC_CHECK_HEADERS([inttypes.h]) +AC_CHECK_HEADERS([inttypes.h sys/time.h sys/socket.h netinet/in.h \ + arpa/inet.h sys/un.h netdb.h pcre.h pwd.h langinfo.h]) # We don't bother checking very standard stuff # Compilation will fail if any of these headers are missing, so we # check for them here and fail early. @@ -574,7 +575,7 @@ fi old_CFLAGS="${CFLAGS}" CFLAGS="${CFLAGS} $gcc_werror" -AC_CHECK_TYPES([long long,uint32_t,uint8_t,intmax_t,uintmax_t]) +AC_CHECK_TYPES([long long,uint32_t,uint16_t,uint8_t,intmax_t,uintmax_t]) # Some GCC invocations warn for converting function pointers to void *. # This is fair enough, as it's technically forbidden, but we use dlsym() @@ -662,7 +663,7 @@ if test ! -z "$missing_functions"; then fi # Functions we can take or leave -AC_CHECK_FUNCS([fls getfsstat]) +AC_CHECK_FUNCS([fls getfsstat closesocket]) if test $want_server = yes; then # had better be version 3 or later