aboutsummaryrefslogtreecommitdiff
path: root/gdb/acconfig.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-01-04 00:34:43 +0000
committerMark Kettenis <kettenis@gnu.org>2003-01-04 00:34:43 +0000
commit14abd0fbf038d0e7cd2f76061538c309b5fd8ca9 (patch)
treeed1b374d006aba087e1ab1d756ff980b8935bd50 /gdb/acconfig.h
parenta1ba22c71a9375846860ba4e47413bf7d339a644 (diff)
downloadgdb-14abd0fbf038d0e7cd2f76061538c309b5fd8ca9.zip
gdb-14abd0fbf038d0e7cd2f76061538c309b5fd8ca9.tar.gz
gdb-14abd0fbf038d0e7cd2f76061538c309b5fd8ca9.tar.bz2
* configure.in: Call AC_GNU_SOURCE. Check for pread64 using
AC_CHECK_FUNCS and remove the old check for pread64. * acinclude.m4 (AC_GNU_SOURCE): New macro. * acconfig.h (_GNU_SOURCE): Add. (HAVE_PREAD64): Remove. * configure, aclocal.m4, config.in: Regenerated.
Diffstat (limited to 'gdb/acconfig.h')
-rw-r--r--gdb/acconfig.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/acconfig.h b/gdb/acconfig.h
index ea3caa8..a9bf0a4 100644
--- a/gdb/acconfig.h
+++ b/gdb/acconfig.h
@@ -1,3 +1,8 @@
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
+
/* Define if your struct reg has r_fs. */
#undef HAVE_STRUCT_REG_R_FS
@@ -46,9 +51,6 @@
/* Define if <sys/procfs.h> has pr_siginfo64_t */
#undef HAVE_PR_SIGINFO64_T
-/* Define if the pread64 function is available. */
-#undef HAVE_PREAD64
-
/* Define if <link.h> exists and defines struct link_map which has
members with an ``l_'' prefix. (For Solaris, SVR4, and
SVR4-like systems.) */