Regenerate Configure.
[p5sagit/p5-mst-13.2.git] / Configure
index a63fbf6..8fd2a8d 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 Mon Sep 20 12:12:09 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Thu Sep 30 19:41:54 EET DST 1999 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.com)
 
 cat >/tmp/c1$$ <<EOF
@@ -817,7 +817,7 @@ trnl=''
 uidtype=''
 archname64=''
 use64bits=''
-uselfs=''
+uselargefiles=''
 uselongdouble=''
 usemorebits=''
 usemultiplicity=''
@@ -874,7 +874,7 @@ al="$al MIPSEB MIPSEL MSDOS MTXINU MULTIMAX MVS"
 al="$al M_COFF M_I186 M_I286 M_I386 M_I8086 M_I86 M_I86SM"
 al="$al M_SYS3 M_SYS5 M_SYSIII M_SYSV M_UNIX M_XENIX"
 al="$al NeXT OCS88 OSF1 PARISC PC532 PORTAR POSIX"
-al="$al PWB R3000 RES RISC6000 RT Sun386i SVR3 SVR4"
+al="$al PWB R3000 RES RISC6000 RT Sun386i SVR3 SVR4 SVR5"
 al="$al SYSTYPE_BSD SYSTYPE_SVR4 SYSTYPE_SYSV Tek4132 Tek4300"
 al="$al UMAXV USGr4 USGr4_2 UTEK UTS UTek UnicomPBB UnicomPBD Utek"
 al="$al VMS Xenix286"
@@ -1221,55 +1221,53 @@ while test $# -gt 0; do
            shift
            xxx=''
            yyy="$1"
-           case "$yyy" in
-           *:*) xxx=`echo $yyy|sed 's!:.*!!'`
-                yyy=`echo $yyy|sed 's!^[^:]*:!!'`
-                ;;
-           esac
-           case "$xxx" in
-           '') xxx=define ;;
-           esac
            zzz=''
-           uuu='undef'
+           uuu=undef
            case "$yyy" in
-           *=*) zzz=`echo $yyy|sed 's!^[^=]*=!!'`
-                yyy=`echo $yyy|sed 's!=.*!!'`
-                case "$yyy:$zzz" in
-                undef:) uuu='' ;;
-                esac
-                ;;
-           esac
+            *=*) zzz=`echo $yyy|sed 's!=.*!!'`
+                 case "$zzz" in
+                 *:*) zzz='' ;;
+                 *)   xxx=append
+                      zzz=" "`echo $yyy|sed 's!^[^=]*=!!'` 
+                      yyy=`echo $yyy|sed 's!=.*!!'` ;;
+                 esac
+                 ;;
+            esac
+            case "$xxx" in
+            '')  case "$yyy" in
+                 *:*) xxx=`echo $yyy|sed 's!:.*!!'`
+                      yyy=`echo $yyy|sed 's!^[^:]*:!!'`
+                      zzz=`echo $yyy|sed 's!^[^=]*=!!'`
+                      yyy=`echo $yyy|sed 's!=.*!!'` ;;
+                 *)   xxx=`echo $yyy|sed 's!:.*!!'`
+                      yyy=`echo $yyy|sed 's!^[^:]*:!!'` ;;
+                 esac
+                 ;;       
+            esac
            case "$xxx" in
            append)
-               echo "$yyy=\"\${$yyy}$zzz\""    >> posthint.sh
-               ;;
+               echo "$yyy=\"\${$yyy}$zzz\""    >> posthint.sh ;;
            clear)
-               echo "$yyy=''"                  >> posthint.sh
-               ;;
+               echo "$yyy=''"                  >> posthint.sh ;;
            define)
                case "$zzz" in
                '') zzz=define ;;
                esac
-               echo "$yyy='$zzz'"              >> posthint.sh
-               ;; 
+               echo "$yyy='$zzz'"              >> posthint.sh ;;
            eval)
-               echo "eval \"$yyy=$zzz\""       >> posthint.sh
-               ;; 
+               echo "eval \"$yyy=$zzz\""       >> posthint.sh ;;
            prepend)
-               echo "$yyy=\"$zzz\${$yyy}\""    >> posthint.sh
-               ;; 
+               echo "$yyy=\"$zzz\${$yyy}\""    >> posthint.sh ;;
            undef)
                case "$zzz" in
                '') zzz="$uuu" ;;
                esac
-               echo "$yyy=$zzz"                >> posthint.sh
-               ;; 
-            *)  echo "$me: unknown -A command '$xxx', ignoring -A $1" >&2
-               ;;
+               echo "$yyy=$zzz"                >> posthint.sh ;;
+            *)  echo "$me: unknown -A command '$xxx', ignoring -A $1" >&2 ;;
            esac
            ;;
        -V) echo "$me generated by metaconfig 3.0 PL70." >&2
-               exit 0;;
+           exit 0;;
        --) break;;
        -*) echo "$me: unknown option $1" >&2; shift; error=true;;
        *) break;;
@@ -1298,9 +1296,9 @@ Usage: $me [-dehrsEKOSV] [-f config.sh] [-D symbol] [-D symbol=value]
          -U symbol    symbol gets the value 'undef'
          -U symbol=   symbol gets completely empty
   -A : manipulate symbol after the platform specific hints have been applied:
+        -A symbol=value                append " "value to symbol
         -A append:symbol=value         append value to symbol
         -A define:symbol=value         define symbol to have value
-        -A symbol=value                define symbol to have value
          -A clear:symbol               define symbol to be ''
         -A define:symbol               define symbol to be 'define'
         -A eval:symbol=value           define symbol to be eval of value
@@ -1334,7 +1332,6 @@ touch optdef.sh
 . ./optdef.sh
 : create the posthint manipulation script and leave the file out there...
 touch posthint.sh
-. ./posthint.sh
 
 : set package name
 package=perl5
@@ -2313,7 +2310,10 @@ EOM
                        mips)   osname=mips_osf1 ;;
                        esac
                        ;;
-               uts) osname=uts 
+               unixware) osname=svr5
+                       osvers="$4"
+                       ;;
+               uts) osname=uts
                        osvers="$3"
                        ;;
                qnx) osname=qnx
@@ -3027,12 +3027,36 @@ case "$usemorebits" in
        ;;
 esac
 
+
+cat <<EOM
+
+Perl can be built to understand large files (files larger than 2 gigabytes)
+on some systems.  To do so, Configure must be run with -Duselargefiles.
+
+If this doesn't make any sense to you, just accept the default.
+EOM
+case "$uselargefiles" in
+"$define"|true|[yY]*) dflt='y' ;;
+*)     dflt='n' ;;
+esac
+rp='Try to understand large files?'
+. ./myread
+case "$ans" in
+y|Y)   val="$define" ;;
+*)     val="$undef"  ;;
+esac
+set uselargefiles
+eval $setvar
+case "$uselargefiles" in
+"$define") use64bits="$define" ;;
+esac
+
 cat <<EOM
 
 Perl can be built to take advantage of explicit 64-bit interfaces,
 on some systems.  To do so, Configure must be run with -Duse64bits.
 
-If this doesn't make any sense to you, just accept the default 'n'.
+If this doesn't make any sense to you, just accept the default.
 EOM
 case "$use64bits" in
 $define|true|[yY]*)    dflt='y';;
@@ -3552,9 +3576,11 @@ echo "Getting the current patchlevel..." >&4
 if $test -r $rsrc/patchlevel.h;then
        patchlevel=`awk '/define[       ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h`
        subversion=`awk '/define[       ]+PERL_SUBVERSION/ {print $3}' $rsrc/patchlevel.h`
+       apiversion=`awk '/define[       ]+PERL_APIVERSION/ {print $3}' $rsrc/patchlevel.h`
 else
        patchlevel=0
        subversion=0
+       apiversion=0
 fi
 $echo $n "(You have $package" $c
 case "$package" in
@@ -3574,15 +3600,6 @@ else
                 echo $baserev $patchlevel $subversion | \
                 $awk '{ printf "%.5f\n", $1 + $2/1000.0 + $3/100000.0 }'`
 fi
-: Figure out perl API version.  Perhaps this should be in patchlevel.h
-if test "$subversion" -lt 50; then
-       apiversion=`LC_ALL=C; export LC_ALL; \
-                LANGUAGE=C; export LANGUAGE; \
-                echo $baserev $patchlevel | \
-                $awk '{ printf "%.3f\n", $1 + $2/1000.0 }'`
-else
-       apiversion="$version"
-fi
 
 : determine installation style
 : For now, try to deduce it from prefix unless it is already set.
@@ -4274,7 +4291,7 @@ default|recommended)
        case "$gccversion" in
        1*) ;;
        2.[0-8]*) ;;
-       *)      echo " "
+       ?*)     echo " "
                echo "Checking if your compiler accepts -fno-strict-aliasing" 2>&1
                echo 'int main(void) { return 0; }' > gcctest.c
                if $cc -O2 -fno-strict-aliasing -o gcctest gcctest.c; then
@@ -6516,16 +6533,6 @@ else
        installsitearch="$sitearchexp"
 fi
 
-
-case "$uselfs" in
-"$define"|true|[yY]*)
-       uselfs="$define"
-       use64bits="$define"
-       ;;
-*)     uselfs="$undef"
-       ;;
-esac
-
 cat <<EOM
 
 Perl can be built to take advantage of long doubles which
@@ -13992,7 +13999,7 @@ uname='$uname'
 uniq='$uniq'
 use64bits='$use64bits'
 usedl='$usedl'
-uselfs='$uselfs'
+uselargefiles='$uselargefiles'
 uselongdouble='$uselongdouble'
 usemorebits='$usemorebits'
 usemultiplicity='$usemultiplicity'