summaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-22 15:17:36 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-22 15:17:36 +0000
commit0991d38e7beb2f0729589412b1712ac4805a4aee (patch)
tree0c5bc9ab05e32a306318e93a583171ce6303b5a0 /libiberty/configure
parentd98e17aef7ed7b81210fdb717fc793313ce852cf (diff)
downloadgcc-0991d38e7beb2f0729589412b1712ac4805a4aee.tar.gz
* configure.in: Check for sys/sysctl.h and sysctl.
* physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63285 138bc75d-0d04-0410-961f-82ee72b054a4
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 4d5b9ac33fc..4805aacf79d 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