aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/config.h.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@gcc.gnu.org>2004-06-04 20:12:01 +0000
committerFrank Ch. Eigler <fche@gcc.gnu.org>2004-06-04 20:12:01 +0000
commit7954e85c0016deceecd4dafc8622292ad1363967 (patch)
treed248b4bcf141c1cec13d21a71e4945815f2ccb44 /libmudflap/config.h.in
parent28af2467e40311bbddd132788d0dcd7fe02f72d4 (diff)
downloadgcc-7954e85c0016deceecd4dafc8622292ad1363967.zip
gcc-7954e85c0016deceecd4dafc8622292ad1363967.tar.gz
gcc-7954e85c0016deceecd4dafc8622292ad1363967.tar.bz2
Portability improvements, e.g., libmudflap/15293.
2004-06-04 Frank Ch. Eigler <fche@redhat.com> Portability improvements, e.g., libmudflap/15293. * configure.in: Look for glibc extension functions. Look for support of -f{function,data}-sections. Look for more headers. Create testsuite/mfconfig.exp. Correct more "test x.." thinkos. * Makefile.am: Use $(SECTION_FLAGS). Collapse piecemeal-compiled mf-hooks* into usual single object per source. * mf-hooks*.c: Remove all #if WRAP_foo conditionals. * mf-hooks2.c: #include a bunch more system headers. Define strnlen if system doesn't provide one. * mf-hooks3.c (struct pthread_info): Add stack_*_alloc fields. (pthread_create): Use it to properly GC dead thread stacks. * mf-runtime.c (__mf_violation): Correct snprintf type warning. * testsuite/Makefile.am: Stop generating site.exp. * testsuite/mfconfig.exp.in: New file. * testsuite/config/default.exp: Load new mfconfig.exp. * testsuite/lib/libmudflap.exp (libmudflap-init): Add extra libraries. (prune_gcc_output): Add glibc static linking warnings. * testsuite/libmudflap.*/*frags.exp: Enumerate needed -lmudflap* libs. * testsuite/libmudflap.c/pass46-frag.c: Ditto. * configure, Makefile, aclocal.m4, config.h.in, testsuite/Makefile.in: Regenerated with autoconf 2.57 and automake 1.7. From-SVN: r82632
Diffstat (limited to 'libmudflap/config.h.in')
-rw-r--r--libmudflap/config.h.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/libmudflap/config.h.in b/libmudflap/config.h.in
index 3c548427..a9c7ed6 100644
--- a/libmudflap/config.h.in
+++ b/libmudflap/config.h.in
@@ -33,15 +33,24 @@
/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL
+/* Define to 1 if you have the `memmem' function. */
+#undef HAVE_MEMMEM
+
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
+/* Define to 1 if you have the `memrchr' function. */
+#undef HAVE_MEMRCHR
+
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* define if you have <pthread.h> */
#undef HAVE_PTHREAD_H
+/* Define to 1 if you have the `sethostname' function. */
+#undef HAVE_SETHOSTNAME
+
/* Define to 1 if you have the `signal' function. */
#undef HAVE_SIGNAL
@@ -66,12 +75,21 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
+/* Define to 1 if you have the `strncpy' function. */
+#undef HAVE_STRNCPY
+
+/* Define to 1 if you have the `strnlen' function. */
+#undef HAVE_STRNLEN
+
/* Define to 1 if you have the <sys/ipc.h> header file. */
#undef HAVE_SYS_IPC_H
/* Define to 1 if you have the <sys/sem.h> header file. */
#undef HAVE_SYS_SEM_H
+/* Define to 1 if you have the <sys/shm.h> header file. */
+#undef HAVE_SYS_SHM_H
+
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H