Subject: Re: dual-life: IO 1.25 and Scalar-List-Utils-1.21
H.Merijn Brand [Mon, 29 Jun 2009 22:51:27 +0000 (00:51 +0200)]
From: Andy Dougherty <doughera@lafayette.edu>
Date: Mon, 29 Jun 2009 15:11:30 -0400 (EDT)
Message-ID: <alpine.DEB.2.00.0906291510110.28368@fractal.phys.lafayette.edu>

Configure

index 85e192c..2d6f7de 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -25,7 +25,7 @@
 
 # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $
 #
-# Generated on Thu Jun 18 16:33:35 CEST 2009 [metaconfig 3.5 PL0]
+# Generated on Tue Jun 30 00:49:36 CEST 2009 [metaconfig 3.5 PL0]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -21652,11 +21652,15 @@ find_extensions='
            this_ext=`echo $xxx | $sed -e s/-/\\\//g`;
            leaf=`echo $xxx | $sed -e s/.*-//`;
            if $test -d File-Glob; then
-               if $test -f $xxx/$leaf.xs -o -f $xxx/$leaf.c; then
+               $ls -1 $xxx > $$.tmp;
+               if $contains "\.xs$" $$.tmp > /dev/null 2>&1; then
+                   known_extensions="$known_extensions $this_ext";
+               elif $contains "\.c$" $$.tmp; then
                    known_extensions="$known_extensions $this_ext";
                elif $test -d $xxx; then
                    nonxs_extensions="$nonxs_extensions $this_ext";
-               fi
+               fi;
+               $rm -f $$.tmp;
            else
                if $test -f $xxx/$leaf.xs -o -f $xxx/$leaf.c; then
                    known_extensions="$known_extensions $1$this_ext";