Use `` instead of -| to be a little bit more portable,
[p5sagit/p5-mst-13.2.git] / Configure
index 8bb7375..c86961d 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  8 17:01:30 EET 2002 [metaconfig 3.0 PL70]
+# Generated on Mon Feb 11 17:45:48 EET 2002 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -2307,7 +2307,7 @@ echo " "
 $touch blurfl
 if $ln -s blurfl sym > /dev/null 2>&1 ; then
        echo "Symbolic links are supported." >&4
-       lns="$ln -s"
+       lns="$ln$_exe -s"
 else
        echo "Symbolic links are NOT supported." >&4
        lns="$ln"
@@ -2317,7 +2317,7 @@ $rm -f blurfl sym
 : determine whether symbolic links are supported
 echo " "
 case "$lns" in
-*"ln -s")
+*"ln"*" -s")
        echo "Checking how to test for symbolic links..." >&4
        $lns blurfl sym
        if $test "X$issymlink" = X; then
@@ -7645,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)
@@ -13511,7 +13511,7 @@ $signal_t bletch(s) int s; { exit(4); }
 #endif
 int main() {
 #if BYTEORDER == 0x1234 || BYTEORDER == 0x4321
-    U8 *buf = (U8*)"\0\0\0\1\0\0\0\0";
+    U8 buf[8];
     U32 *up;
     int i;
 
@@ -13526,6 +13526,15 @@ int main() {
     signal(SIGBUS, bletch);
 #endif
 
+    buf[0] = 0;
+    buf[1] = 0;
+    buf[2] = 0;
+    buf[3] = 1;
+    buf[5] = 0;
+    buf[6] = 0;
+    buf[7] = 0;
+    buf[8] = 1;
+
     for (i = 0; i < 4; i++) {
        up = (U32*)(buf + i);
        if (! ((*up == 1 << (8*i)) ||   /* big-endian */