aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.Harhan.ORG>2000-07-23 16:05:03 +0000
committerJeff Law <law@gcc.gnu.org>2000-07-23 10:05:03 -0600
commit3b58c09931cc776c30aef89f0bac7f6fdca34aca (patch)
tree36f10416500fbf8a5ffa0c7fe7957e1d761edf22 /libiberty/configure.in
parent8502a100662b57e68782022751fbde893bb50213 (diff)
downloadgcc-3b58c09931cc776c30aef89f0bac7f6fdca34aca.zip
gcc-3b58c09931cc776c30aef89f0bac7f6fdca34aca.tar.gz
gcc-3b58c09931cc776c30aef89f0bac7f6fdca34aca.tar.bz2
aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* 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. From-SVN: r35199
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 6ad054a..ecae1b1 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.