EBCDIC: the non-printable characters are different.
[p5sagit/p5-mst-13.2.git] / Configure
index da109c4..6629891 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 23 06:47:20 EET 2002 [metaconfig 3.0 PL70]
+# Generated on Fri Feb  8 22:04:29 EET 2002 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -1036,8 +1036,14 @@ if test -f /etc/unixtovms.exe; then
        eunicefix=/etc/unixtovms.exe
 fi
 
+: Set executable suffix now -- needed before hints available
+: maybe Stratus VOS
 if test -f "/system/gnu_library/bin/ar.pm"; then
-     _exe=".pm"
+    _exe=".pm"
+fi
+: maybe dos djgpp
+if test -n "$DJGPP"; then
+    _exe=".exe"
 fi
 
 i_whoami=''
@@ -2141,7 +2147,7 @@ for file in $trylist; do
        '') xxx=`./loc $file $file $pth`;;
        *) xxx=`./loc $xxx $xxx $pth`;;
        esac
-       eval $file=$xxx
+       eval $file=$xxx$_exe
        eval _$file=$xxx
        case "$xxx" in
        /*)
@@ -7555,8 +7561,8 @@ true)
                linux*)  # ld won't link with a bare -lperl otherwise.
                        dflt=libperl.$so
                        ;;
-               cygwin*) # include version
-                       dflt=`echo libperl$version | sed -e 's/\./_/g'`$lib_ext
+               cygwin*) # ld links against an importlib
+                       dflt=libperl$lib_ext
                        ;;
                *)      # Try to guess based on whether libc has major.minor.
                        case "$libc" in
@@ -7639,7 +7645,7 @@ if "$useshrplib"; then
        freebsd|netbsd)
                xxx="-Wl,-R$shrpdir"
                ;;
-       linux|irix*|dec_osf)
+       bsdos|linux|irix*|dec_osf)
                xxx="-Wl,-rpath,$shrpdir"
                ;;
        next)
@@ -13493,7 +13499,8 @@ $cat <<EOM
 
 Checking to see whether you can access character data unalignedly...
 EOM
-$cat >try.c <<EOCP
+case "$d_u32align" in
+'')   $cat >try.c <<EOCP
 #include <stdio.h>
 #define U32 $u32type
 #define BYTEORDER 0x$byteorder
@@ -13504,7 +13511,7 @@ $signal_t bletch(s) int s; { exit(4); }
 #endif
 int main() {
 #if BYTEORDER == 0x1234 || BYTEORDER == 0x4321
-    U8 *buf = "\0\0\0\1\0\0\0\0";
+    U8 *buf = (U8*)"\0\0\0\1\0\0\0\0";
     U32 *up;
     int i;
 
@@ -13575,6 +13582,8 @@ else
        esac
 fi
 $rm -f core core.try.* try.core
+;;
+esac
 
 : see if ualarm exists
 set ualarm d_ualarm