Sanity check for libraries scan.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 4 Feb 2000 19:54:25 +0000 (19:54 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 4 Feb 2000 19:54:25 +0000 (19:54 +0000)
p4raw-id: //depot/cfgperl@4995

Configure

index 25a149c..1b5d167 100755 (executable)
--- 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