aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-05 21:15:29 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-05 21:15:29 +0000
commitc1687039ebb6da080ce43dd66a493485ad22aa62 (patch)
treec4aea4092d27179fa60be5c02eeb5eadcabd20df /libiberty/configure.in
parent5d54c62870438863320321eb704a13fc4c85953a (diff)
downloadgdb-c1687039ebb6da080ce43dd66a493485ad22aa62.zip
gdb-c1687039ebb6da080ce43dd66a493485ad22aa62.tar.gz
gdb-c1687039ebb6da080ce43dd66a493485ad22aa62.tar.bz2
Revert last patch to xmalloc.c, and instead bring over this patch from
egcs: Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu> * configure.in (checkfuncs): Check for sbrk. * config.in: Rebuilt. * configure: Likewise. * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r--libiberty/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 1c1cb0b..a1032a4 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -154,7 +154,7 @@ funcs="$funcs waitpid"
vars="sys_errlist sys_nerr sys_siglist"
-checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times"
+checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk"
# These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h.
@@ -168,6 +168,7 @@ if test "x" = "y"; then
AC_DEFINE(HAVE_SYS_NERR)
AC_DEFINE(HAVE_SYS_SIGLIST)
AC_CHECK_FUNCS(getrusage on_exit psignal strerror strsignal sysconf times)
+ AC_CHECK_FUNCS(sbrk)
fi
# For each of these functions, if the host does not provide the