summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-07 22:06:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-07 22:06:16 +0000
commit27f9615e568d1c008853d6c7afa74ec19329d8e3 (patch)
treebd7c0e17b66b8e6b65fdb5ee0ebbe6052a316f48 /Configure
parentf58d107366fa640961a38c8b8a863f087a6ab3a2 (diff)
downloadperl-27f9615e568d1c008853d6c7afa74ec19329d8e3.tar.gz
Harumph, also AIX will spill its guts (i.e. dump core)
if an executable contains modfl() but it hasn't been compiled right (in the case of AIX, with cc -qlongdouble). p4raw-id: //depot/perl@10473
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/Configure b/Configure
index 7c35f33bcc..df3574246b 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Thu Jun 7 00:46:23 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Fri Jun 8 02:03:31 EET DST 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -10495,6 +10495,10 @@ int main() {
return 0;
}
EOCP
+ case "$osname:$gccversion" in
+ aix:) saveccflags="$ccflags"
+ ccflags="$ccflags -qlongdouble" ;; # to avoid core dump
+ esac
set try
if eval $compile; then
foo=`./try`
@@ -10519,6 +10523,9 @@ EOCP
echo "I cannot figure out whether your modfl() is okay, assuming it isn't."
d_modfl="$undef"
fi
+ case "$osname:$gccversion" in
+ aix:) $ccflags="saveccflags" ;; # restore
+ esac
;;
esac