From 3fe97d74adf47f126ba3c19e633826eeb95c2662 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 21 May 1998 07:52:38 +0000 Subject: [PATCH] configure.in: Check for unistd.h as well. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * 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 --- libiberty/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libiberty/configure.in b/libiberty/configure.in index 05a9df1e975..4b51ee4384b 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.