summaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-23 16:05:03 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-23 16:05:03 +0000
commitfb758229aba9757ceb06b3de8a72f3a761d1a651 (patch)
tree36f10416500fbf8a5ffa0c7fe7957e1d761edf22 /libiberty/configure.in
parent68e6b6e1c0f5ae5cf5a338a063be8bd52742487e (diff)
downloadgcc-fb758229aba9757ceb06b3de8a72f3a761d1a651.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35199 138bc75d-0d04-0410-961f-82ee72b054a4
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 6ad054a6448..ecae1b1b63b 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.