summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-04 19:54:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-04 19:54:25 +0000
commit04fa8c41938cda1a279f526ef9bbe4512f628f56 (patch)
treee675767b4e7c8c02329956467356156c7b0c57b5 /Configure
parent101e46016804bc9075e660c95b8f086039f29428 (diff)
downloadperl-04fa8c41938cda1a279f526ef9bbe4512f628f56.tar.gz
Sanity check for libraries scan.
p4raw-id: //depot/cfgperl@4995
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure14
1 files changed, 13 insertions, 1 deletions
diff --git a/Configure b/Configure
index 25a149c138..1b5d167bc8 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 Fri Feb 4 21:15:39 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Fri Feb 4 21:57:24 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -3741,6 +3741,18 @@ case "$dflt" in
' '|'') dflt='none';;
esac
+case "$libsfound" in
+*libm*) ;;
+*) cat <<EOM >&4
+
+I could not find -lm, the mathematics library.
+This means that something went awfully wrong.
+
+EOM
+ exit 1
+ ;;
+esac
+
$cat <<EOM
In order to compile $package on your machine, a number of libraries