aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-02-21 00:27:04 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-02-21 00:27:04 +0000
commita354191ebf0b3b87c0bf63c759cf5b1702128305 (patch)
treed7ff9fd0ca6913444d43463d7cf61e8571d20621 /libiberty/configure
parent763b929241319ef2d738555a2e43a6e1587e5b76 (diff)
downloadgcc-a354191ebf0b3b87c0bf63c759cf5b1702128305.zip
gcc-a354191ebf0b3b87c0bf63c759cf5b1702128305.tar.gz
gcc-a354191ebf0b3b87c0bf63c759cf5b1702128305.tar.bz2
libiberty.h (physmem_total, [...]): Prototype.
include: * libiberty.h (physmem_total, physmem_available): Prototype. libiberty: * Makefile.in (CFILES): Add physmem.c. (REQUIRED_OFILES): Add physmem.o. * configure.in: Check for sys/pstat.h. (checkfuncs): Add pstat_getstatic and pstat_getdynamic. * physmem.c: New file, copied from textutils. * config.in, configure: Regenerated. From-SVN: r63198
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 320d854..75e7564 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
+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
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -1738,7 +1738,7 @@ funcs="$funcs waitpid"
vars="sys_errlist sys_nerr sys_siglist"
checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday"
-checkfuncs="$checkfuncs realpath canonicalize_file_name"
+checkfuncs="$checkfuncs realpath canonicalize_file_name pstat_getstatic pstat_getdynamic"
# These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h.