diff options
author | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-04 17:33:54 +0000 |
---|---|---|
committer | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-04 17:33:54 +0000 |
commit | 2e3cd6373e847a2d667a23f56e2b4c8d614ef318 (patch) | |
tree | 57606334dc29196000e1c06229646ad4e857de7d /libmudflap/configure.ac | |
parent | 9a89afa2ede1c5a88c414f322f5faef1c72cd9fe (diff) | |
download | gcc-2e3cd6373e847a2d667a23f56e2b4c8d614ef318.tar.gz |
2004-10-04 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Look for more headers & functions.
* mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
* mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
* mf-runtime.c (options): Clean up integer signedness warnings.
(main): Add a declaration to fix a warning.
* mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
* configure, config.h.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88517 138bc75d-0d04-0410-961f-82ee72b054a4
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> |