aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorManfred Hollstein <manfred@gcc.gnu.org>1998-05-21 07:52:38 +0000
committerManfred Hollstein <manfred@gcc.gnu.org>1998-05-21 07:52:38 +0000
commit3fe97d74adf47f126ba3c19e633826eeb95c2662 (patch)
treeebf46b9e020fa94805b42846b507657a99765ee0 /libiberty
parentfd97443cb69a8ae16ed6417f9a32eea79f488a2f (diff)
downloadgcc-3fe97d74adf47f126ba3c19e633826eeb95c2662.zip
gcc-3fe97d74adf47f126ba3c19e633826eeb95c2662.tar.gz
gcc-3fe97d74adf47f126ba3c19e633826eeb95c2662.tar.bz2
configure.in: Check for unistd.h as well.
� * configure.in: Check for unistd.h as well. * configure: Rebuild. * config.in: Rebuild. * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE is defined in unistd.h. Reformat conditional block for easier reading. * config.table (shared): Default to no if ${enable_shared} is unset or empty; this logic is used by the toplevel configure scripts, too. From-SVN: r19923
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 05a9df1..4b51ee4 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -104,7 +104,7 @@ AC_SUBST_FILE(host_makefile_frag)
# It's OK to check for header files. Although the compiler may not be
# able to link anything, it had better be able to at least compile
# something.
-AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h)
+AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h unistd.h)
# This is the list of functions which libiberty will provide if they
# are not available on the host.