The #4880 was too eager, the $n test is useful too.
[p5sagit/p5-mst-13.2.git] / Configure
index ef4a071..894f4c5 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 Wed Jan 26 09:47:49 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Thu Jan 27 12:37:26 EET 2000 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.com)
 
 cat >/tmp/c1$$ <<EOF
@@ -761,7 +761,7 @@ subversion=''
 version=''
 perladmin=''
 perlpath=''
-d_nvpresuv=''
+d_nv_preserves_uv=''
 i16size=''
 i16type=''
 i32size=''
@@ -908,7 +908,7 @@ fi
 
 i_whoami=''
 : list of known cpp symbols, sorted alphabetically
-al="386BSD 3b1 a29k ABI64 aegis AES_SOURCE AIX AIX32 AIX370"
+al="a29k ABI64 aegis AES_SOURCE AIX AIX32 AIX370"
 al="$al AIX41 AIX42 AIX43 AIX_SOURCE aixpc ALL_SOURCE"
 al="$al alliant alpha am29000 AM29000 amiga AMIGAOS AMIX"
 al="$al ansi ANSI_C_SOURCE apollo ardent atarist att386 att3b BeOS"
@@ -9887,13 +9887,13 @@ EOP
 set try
 if eval $compile; then
        case "`./try$exe_ext`" in
-       preserve) d_nvpresuv="$define" ;;
+       preserve) d_nv_preserves_uv="$define" ;;
        esac
 fi     
-case "$d_nvpresuv" in
+case "$d_nv_preserves_uv" in
 $define) $echo "Yes, they can."  2>&1 ;;
 *)      $echo "No, they can't." 2>&1
-        d_nvpresuv="$undef"
+        d_nv_preserves_uv="$undef"
         ;;
 esac
 
@@ -13695,7 +13695,7 @@ eval $inhdr
 
 : get C preprocessor symbols handy
 echo " "
-$echo $n "Guessing which symbols your C compiler and preprocessor define... $c" >&4 
+$echo "Guessing which symbols your C compiler and preprocessor define..." >&4 
 echo $al $osname | $tr ' ' $trnl >Cppsym.know
 ./tr '[a-z]' '[A-Z]' < Cppsym.know > Cppsym.a
 ./tr '[A-Z]' '[a-z]' < Cppsym.know > Cppsym.b
@@ -13751,7 +13751,18 @@ exit \$status
 EOSS
 chmod +x Cppsym
 $eunicefix Cppsym
-./Cppsym -l $al | $sort | $grep -v '^$' >Cppsym.true
+$rm -f Cppsym.true
+startsym=1
+stopsym=500
+symbols=`wc -l < Cppsym.know`
+while test $startsym -le $symbols
+do
+    $sed -n "$startsym,$stopsym p" Cppsym.know > Cppsym.batch
+    ./Cppsym -l `cat Cppsym.batch` | $sort | $grep -v '^$' >>Cppsym.true
+    startsym=`expr $startsym + 500`
+    stopsym=`expr $stopsym + 500`
+done
+$rm -f Cppsym.batch
 
 : now check the C compiler for additional symbols
 postprocess_cc_v=''
@@ -14602,7 +14613,7 @@ d_msgrcv='$d_msgrcv'
 d_msgsnd='$d_msgsnd'
 d_mymalloc='$d_mymalloc'
 d_nice='$d_nice'
-d_nvpresuv='$d_nvpresuv'
+d_nv_preserves_uv='$d_nv_preserves_uv'
 d_off64_t='$d_off64_t'
 d_old_pthread_create_joinable='$d_old_pthread_create_joinable'
 d_oldpthreads='$d_oldpthreads'