summaryrefslogtreecommitdiffstats
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-07-23 16:05:33 +0000
committerJeff Law <law@redhat.com>2000-07-23 16:05:33 +0000
commit7d3ffcaf8540b6a29edc9d24ea1fe3bddbd96004 (patch)
tree49049fbea32d1f62ae059e3ce9784f83f463cc78 /libiberty/configure.in
parentb123325783561d820960dea56f33de3169e84410 (diff)
downloadppe42-binutils-7d3ffcaf8540b6a29edc9d24ea1fe3bddbd96004.tar.gz
ppe42-binutils-7d3ffcaf8540b6a29edc9d24ea1fe3bddbd96004.zip
* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check. * configure, config.in: Regenerate. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r--libiberty/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 6ad054a644..ecae1b1b63 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -112,6 +112,8 @@ AC_SUBST_FILE(host_makefile_frag)
AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h)
AC_HEADER_SYS_WAIT
+libiberty_AC_DECLARE_ERRNO
+
# This is the list of functions which libiberty will provide if they
# are not available on the host.
OpenPOWER on IntegriCloud