aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2003-06-08 06:41:28 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-06-08 06:41:28 +0000
commit8eb6a092cabdf4dbf91224ed32b63935a30766dd (patch)
tree88ecf2cfe1c6969a132fe87f02608ce70f8f7757 /gcc/configure
parent2236275562e5a37fa3e8d14aa65d5708d5cc0dac (diff)
downloadgcc-8eb6a092cabdf4dbf91224ed32b63935a30766dd.zip
gcc-8eb6a092cabdf4dbf91224ed32b63935a30766dd.tar.gz
gcc-8eb6a092cabdf4dbf91224ed32b63935a30766dd.tar.bz2
re PR pch/9830 (PCH not working on Solaris)
PR pch/9830 * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h if HAVE_MINCORE is defined. (MAP_FAILED): Define if not defined. (gt_pch_save): Test against MAP_FAILED. (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force the mapping address to the preferred base after checking it is possible to do so. Test against MAP_FAILED. * configure.in: Test for the presence of mincore in libc. * config.in: Regenerate. * configure: Regenerate. From-SVN: r67614
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 3f53e24..597fd80 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -3726,7 +3726,7 @@ fi
for ac_func in times clock dup2 kill getrlimit setrlimit atoll atoq \
sysconf strsignal putc_unlocked fputc_unlocked fputs_unlocked \
fwrite_unlocked fprintf_unlocked getrusage nl_langinfo lstat \
- scandir alphasort gettimeofday mbstowcs wcswidth mmap
+ scandir alphasort gettimeofday mbstowcs wcswidth mmap mincore
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3733: checking for $ac_func" >&5