This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: install misses Compress/IO/{Base,Zlib}
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 4 Dec 2006 15:48:12 +0000 (16:48 +0100)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 4 Dec 2006 15:19:20 +0000 (15:19 +0000)
Message-ID: <b77c1dce0612040648j411247c5i27a305c86cbac401@mail.gmail.com>

p4raw-id: //depot/metaconfig@29453

U/perl/Extensions.U

index 3a1b956..e9e6eda 100644 (file)
@@ -9,14 +9,14 @@
 ?RCS:
 ?MAKE:known_extensions extensions dynamic_ext static_ext nonxs_ext \
        useposix useopcode : \
-       Myread hint usedl d_sem d_socket i_db i_dbm i_rpcsvcdbm i_gdbm \ 
+       Myread hint usedl d_sem d_socket i_db i_dbm i_rpcsvcdbm i_gdbm \
        i_ndbm usethreads useithreads package test cat rsrc \
        d_msg d_shm osname use64bitint i_langinfo d_nl_langinfo \
        libs
 ?MAKE: -pick add $@ %<
 ?Y:BOTTOM
 ?S:known_extensions:
-?S:    This variable holds a list of all XS extensions included in 
+?S:    This variable holds a list of all XS extensions included in
 ?S:    the package.
 ?S:.
 ?S:dynamic_ext:
@@ -34,7 +34,7 @@
 ?S:extensions:
 ?S:    This variable holds a list of all extension files (both XS and
 ?S:    non-xs linked into the package.  It is propagated to Config.pm
-?S:    and is typically used to test whether a particular extesion 
+?S:    and is typically used to test whether a particular extesion
 ?S:    is available.
 ?S:.
 ?S:useposix:
@@ -74,24 +74,28 @@ nonxs_extensions=''
 : NOTE: recursion limit of 10 to prevent runaway in case of symlink madness
 find_extensions='
     for xxx in *; do
-       case "$xxx" in
-           DynaLoader|dynaload) ;;
-           *)
-           if $test -f $xxx/$xxx.xs; then
-               known_extensions="$known_extensions $1$xxx";
-           elif $test -f $xxx/Makefile.PL; then
-               nonxs_extensions="$nonxs_extensions $1$xxx";
-           else
-               if $test -d $xxx -a $# -lt 10; then
-                   set $1$xxx/ $*;
-                   cd "$xxx";
-                   eval $find_extensions;
-                   cd ..;
-                   shift;
-               fi;
-           fi
-           ;;
-       esac;
+       if $test "$1" = Compress/IO/ ; then
+           nonxs_extensions="$nonxs_extensions IO/Compress/$xxx";
+       else
+           case "$xxx" in
+               DynaLoader|dynaload) ;;
+               *)
+               if $test -f $xxx/$xxx.xs; then
+                   known_extensions="$known_extensions $1$xxx";
+               elif $test -f $xxx/Makefile.PL; then
+                   nonxs_extensions="$nonxs_extensions $1$xxx";
+               else
+                   if $test -d $xxx -a $# -lt 10; then
+                       set $1$xxx/ $*;
+                       cd "$xxx";
+                       eval $find_extensions;
+                       cd ..;
+                       shift;
+                   fi;
+               fi
+               ;;
+           esac;
+       fi
     done'
 tdir=`pwd`
 cd "$rsrc/ext"
@@ -122,12 +126,12 @@ for xxx in $known_extensions ; do
                esac
                ;;
        GDBM_File|gdbm_fil)
-               case "$i_gdbm" in 
+               case "$i_gdbm" in
                $define) avail_ext="$avail_ext $xxx" ;;
                esac
                ;;
        I18N/Langinfo|i18n_lan)
-               case "$i_langinfo$d_nl_langinfo" in 
+               case "$i_langinfo$d_nl_langinfo" in
                $define$define) avail_ext="$avail_ext $xxx" ;;
                esac
                ;;
@@ -145,7 +149,7 @@ for xxx in $known_extensions ; do
                    ;;
                esac
                ;;
-       ODBM_File|odbm_fil) 
+       ODBM_File|odbm_fil)
                case "${i_dbm}${i_rpcsvcdbm}" in
                *"${define}"*)
                    case "$osname-$use64bitint" in
@@ -170,7 +174,7 @@ for xxx in $known_extensions ; do
                esac
                ;;
        Socket|socket)
-               case "$d_socket" in 
+               case "$d_socket" in
                true|$define|y)
                    case "$osname" in
                    beos) ;; # not unless BONE
@@ -181,7 +185,7 @@ for xxx in $known_extensions ; do
                ;;
        Sys/Syslog|sys/syslog)
                : XXX syslog requires socket
-               case "$d_socket" in 
+               case "$d_socket" in
                true|$define|y) avail_ext="$avail_ext $xxx" ;;
                esac
                ;;
@@ -222,7 +226,7 @@ for xxx in $known_extensions ; do
                ;;
        IPC/SysV|ipc/sysv)
                : XXX Do we need a useipcsysv variable here
-               case "${d_msg}${d_sem}${d_shm}" in 
+               case "${d_msg}${d_sem}${d_shm}" in
                *"${define}"*) avail_ext="$avail_ext $xxx" ;;
                esac
                ;;
@@ -312,11 +316,11 @@ EOM
                previous)
                        if test X"$dynamic_ext" != X"$avail_ext"; then
                                $cat <<EOM
-NOTICE:  Your previous config.sh list may be incorrect. 
-The extensions now available to you are 
+NOTICE:  Your previous config.sh list may be incorrect.
+The extensions now available to you are
        ${avail_ext}
 but the default list from your previous config.sh is
-       ${dynamic_ext} 
+       ${dynamic_ext}
 
 EOM
                        fi
@@ -349,7 +353,7 @@ EOM
                shift
                dflt="$*"
                ;;
-       *)  dflt="$static_ext" 
+       *)  dflt="$static_ext"
                ;;
        esac
 
@@ -366,8 +370,8 @@ EOM
        ;;
 *)
        $cat <<EOM
-A number of extensions are supplied with $package.  Answer "none" 
-to include no extensions. 
+A number of extensions are supplied with $package.  Answer "none"
+to include no extensions.
 Note that DynaLoader is always built and need not be mentioned here.
 
 EOM
@@ -379,11 +383,11 @@ EOM
                previous)
                        if test X"$static_ext" != X"$avail_ext"; then
                                $cat <<EOM
-NOTICE:  Your previous config.sh list may be incorrect. 
-The extensions now available to you are 
+NOTICE:  Your previous config.sh list may be incorrect.
+The extensions now available to you are
        ${avail_ext}
 but the default list from your previous config.sh is
-       ${static_ext} 
+       ${static_ext}
 
 EOM
                        fi
@@ -404,7 +408,7 @@ EOM
        esac
        ;;
 esac
-#        
+#
 # Encode is a special case.  If we are building Encode as a static
 # extension, we need to explicitly list its subextensions as well.
 # For other nested extensions, this is handled automatically by