aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-02-22 15:17:36 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-02-22 15:17:36 +0000
commit170230b7235a9ed4345a770c2d9d2ec1ffed94b2 (patch)
tree0c5bc9ab05e32a306318e93a583171ce6303b5a0 /libiberty/configure
parent514e19c9fb0aaa8d4c5a78b4b357b4c19bc8c7b4 (diff)
downloadgcc-170230b7235a9ed4345a770c2d9d2ec1ffed94b2.zip
gcc-170230b7235a9ed4345a770c2d9d2ec1ffed94b2.tar.gz
gcc-170230b7235a9ed4345a770c2d9d2ec1ffed94b2.tar.bz2
configure.in: Check for sys/sysctl.h and sysctl.
* configure.in: Check for sys/sysctl.h and sysctl. * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. Co-Authored-By: Geoffrey Keating <geoffk@apple.com> Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r63285
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 4d5b9ac..4805aac 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -1356,7 +1356,7 @@ else
fi
echo "$ac_t""$CPP" 1>&6
-for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h
+for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -1739,7 +1739,7 @@ vars="sys_errlist sys_nerr sys_siglist"
checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday"
checkfuncs="$checkfuncs realpath canonicalize_file_name pstat_getstatic pstat_getdynamic sysmp"
-checkfuncs="$checkfuncs getsysinfo table"
+checkfuncs="$checkfuncs getsysinfo table sysctl"
# These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h.
@@ -2129,7 +2129,7 @@ else
fi
done
- for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo table
+ for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2136: checking for $ac_func" >&5