summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2000-10-06 10:47:15 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-06 12:47:13 +0000
commit5dd4fbdfe21cfc092ed190fa1e816d53b85a0508 (patch)
treee1fb56d0ed0701cd84d31935ec54263f76e65a0b
parent18e6b73a5fbc1457266f8212f295929b583e656d (diff)
downloadperl-5dd4fbdfe21cfc092ed190fa1e816d53b85a0508.tar.gz
Also the $ccflags is needed for the C compiler check.
Subject: Configure (check for C-compiler) Message-Id: <20001006084120.C52B.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@7157
-rwxr-xr-xConfigure13
1 files changed, 8 insertions, 5 deletions
diff --git a/Configure b/Configure
index 373ac25305..409d609632 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 Oct 5 01:50:43 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Fri Oct 6 15:40:31 EET DST 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >/tmp/c1$$ <<EOF
@@ -2099,7 +2099,7 @@ int main(int argc, char *argv[]) {
return 0;
}
EOM
- if $cc -o try try.c; then
+ if $cc $cflags -o try try.c; then
:
else
echo "Uh-oh, the C compiler '$cc' doesn't seem to be working." >&4
@@ -2133,8 +2133,12 @@ EOM
fi
fi
if $test X"$despair" = Xyes; then
- echo "You need to find a working C compiler." >&4
- echo "I cannot continue any further, aborting." >&4
+ $cat >&4 <<EOM
+You need to find a working C compiler.
+Either (purchase and) install the C compiler supplied by your OS vendor,
+or for a free C compiler try http://gcc.gnu.org/
+I cannot continue any further, aborting.
+EOM
exit 1
fi
fi
@@ -6273,7 +6277,6 @@ echo " "
$cat <<EOM
Do you want to install the various scripts accompanying Perl?
Usually you do want this.
-
EOM
case "$installscripts" in
"$undef"|[nN]*) dflt='n';;