diff options
Diffstat (limited to 'libmudflap/configure.ac')
-rw-r--r-- | libmudflap/configure.ac | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libmudflap/configure.ac b/libmudflap/configure.ac index 7c7b8c76a55..04020b2c839 100644 --- a/libmudflap/configure.ac +++ b/libmudflap/configure.ac @@ -60,22 +60,19 @@ AC_TRY_COMPILE([ enable_shared=no]) AC_CHECK_HEADERS(stdint.h execinfo.h signal.h dlfcn.h dirent.h pwd.h grp.h \ - netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h ctype.h) -AC_CHECK_FUNCS(backtrace backtrace_symbols gettimeofday signal) + netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h ctype.h mntent.h \ + sys/socket.h netinet/in.h arpa/inet.h dlfcn.h) -dnl Check for 64-bit stdio calls related to Large File Support +AC_CHECK_FUNCS(backtrace backtrace_symbols gettimeofday signal) AC_CHECK_FUNCS(fopen64 fseeko64 ftello64 stat64) - -dnl Check for nonstandard functions AC_CHECK_FUNCS(strnlen memrchr strncpy memmem sethostname) - -dnl Check for glibc ctype functions AC_CHECK_FUNCS(__ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc) - -dnl Check for pwd.h / grp.h family of functions AC_CHECK_FUNCS(getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent) AC_CHECK_FUNCS(getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r) AC_CHECK_FUNCS(getservent getservbyname getservbyport getaddrinfo gai_strerror) +AC_CHECK_FUNCS(getprotoent getprotobyname getprotobynumber) +AC_CHECK_FUNCS(getmntent setmntent addmntent) +AC_CHECK_FUNCS(inet_ntoa) AC_TRY_COMPILE([#include <sys/types.h> #include <sys/ipc.h> |