add missing file from change#1943
[p5sagit/p5-mst-13.2.git] / Configure
index 4c6f44e..de6c3d2 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 Tue Sep 29 00:08:14 EET DST 1998 [metaconfig 3.0 PL70]
+# Generated on Wed Sep 30 02:04:24 EET DST 1998 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by jhi@iki.fi)
 
 cat >/tmp/c1$$ <<EOF
@@ -1265,7 +1265,7 @@ cat >extract <<'EOS'
 CONFIG=true
 echo "Doing variable substitutions on .SH files..."
 if test -f $src/MANIFEST; then
-       set x `awk '{print $1}' <$src/MANIFEST | grep '\.SH'`
+       set x `awk '{print $1}' <$src/MANIFEST | grep '\.SH$'`
 else
        echo "(Looking for .SH files under the source directory.)"
        set x `(cd $src; find . -name "*.SH" -print)`
@@ -3978,16 +3978,6 @@ none|recommended) dflt="$ccflags $dflt" ;;
 *) dflt="$ccflags";;
 esac
 
-case "$usemultiplicity" in
-$define)
-       case "$dflt" in
-       *-DMULTIPLICITY* ) ;;
-       *)      dflt="$dflt -DMULTIPLICITY"
-               ;;
-       esac
-       ;;
-esac
-
 case "$dflt" in
 ''|' ') dflt=none;;
 esac
@@ -10877,13 +10867,13 @@ EOM
 #include <sys/select.h>
 #endif
 #include <stdio.h>
-#define S sizeof($selecttype)
+$selecttype b;
+#define S sizeof(*(b))
 #define MINBITS        64
 #define NBYTES (S * 8 > MINBITS ? S : MINBITS/8)
 #define NBITS  (NBYTES * 8)
 int main() {
     char s[NBYTES];
-    $selecttype b;
     struct timeval t;
     int i;
     FILE* fp;
@@ -10911,6 +10901,13 @@ EOCP
                if eval $compile_ok; then
                        selectminbits=`./try`
                        case "$selectminbits" in
+                       '')     cat >&4 <<EOM
+Cannot figure out on how many bits at a time your select() operates.
+I'll play safe and guess it is 32 bits.
+EOM
+                               selectminbits=32
+                               bits="32 bits"
+                               ;;
                        1)      bits="1 bit" ;;
                        *)      bits="$selectminbits bits" ;;
                        esac