Encode simply needs more work on EBCDIC.
[p5sagit/p5-mst-13.2.git] / Configure
index ed90386..a15eeb7 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 Sat May 24 10:07:39 EET DST 2003 [metaconfig 3.0 PL70]
+# Generated on Fri Jun 13 16:12:49 EET DST 2003 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -188,6 +188,7 @@ run=''
 targetarch=''
 to=''
 usecrosscompile=''
+mistrustnm=''
 perllibs=''
 dynamic_ext=''
 extensions=''
@@ -1124,7 +1125,6 @@ uselargefiles=''
 uselongdouble=''
 usemorebits=''
 usemultiplicity=''
-mistrustnm=''
 nm_opt=''
 nm_so_opt=''
 runnm=''
@@ -7373,14 +7373,14 @@ yes)
                if $contains $tlook $tf >/dev/null 2>&1; then
                        tval=true;
                elif $test "$mistrustnm" = compile -o "$mistrustnm" = run; then
-                       echo "int main() { extern void *$1$tdc; return(&$1$tc ? 0 : 1); }" > try.c;
+                       echo "int main() { extern void *$1$tdc; if (&$1$tc) return(0); else return(1); }" > try.c;
                        $cc -o try $optimize $ccflags $ldflags try.c >/dev/null 2>&1 $libs && tval=true;
                        $test "$mistrustnm" = run -a -x try && { $run ./try >/dev/null 2>&1 || tval=false; };
                        $rm -f try try.c core;
                fi;
        else
                echo "#include <stdio.h>" > try.c;
-               echo "int main() { extern void *$1$tdc; return(&$1$tc ? 0 : 1); }" > try.c;
+               echo "int main() { extern void *$1$tdc; if(&$1$tc) return(0); else return(1); }" > try.c;
                $cc -o try $optimize $ccflags $ldflags try.c $libs >/dev/null 2>&1 && tval=true;
                $rm -f try try.c;
        fi;
@@ -20150,8 +20150,8 @@ case "$noextensions" in
 *)  keepextensions=''
     echo "You have requested that certain extensions be ignored..." >&4
     for i in $avail_ext; do
-        case " $i " in
-        " $noextensions ") echo "Ignoring extension $i." ;;
+        case " $noextensions " in
+        *" $i "*) echo "Ignoring extension $i." ;;
         *) echo "Keeping extension $i.";
            keepextensions="$keepextensions $i"
            ;;