diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-15 22:05:35 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-15 22:05:35 +0000 |
commit | b01c09558217c492df5eeab3506b2179a2bda8bc (patch) | |
tree | 0ee0d2463aa466f8760f6e1c1f676361d5e55672 /libiberty/configure.in | |
parent | 378ac6605dde842d47f8d210af6b046e7bcb1dcd (diff) | |
download | gcc-b01c09558217c492df5eeab3506b2179a2bda8bc.tar.gz |
* configure.in (checkfuncs): Check for sbrk.
* config.in: Rebuilt.
* configure: Likewise.
* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26480 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 9a496720050..da33ca9487b 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 |