Move Cwd and List-Util: UNIX followup
authorDavid Mitchell <davem@iabyn.com>
Fri, 29 Nov 2013 16:12:20 +0000 (16:12 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 29 Nov 2013 16:12:20 +0000 (16:12 +0000)
the previous commit worked on win32; this commit makes it work under UNIX
too.

Basically Configure determines a list of "logical" extension names
such as "IPC/SysV",  based on physical dirs under cpan/ etc such as
"IPC-SysV".

In this case, keep the original logical names "Cwd" and "List/Util",
even though the physical paths have been changed to "PathTools" and
"Scalar/List/Utils".

Configure

index 071b5ec..854ed8f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -22194,6 +22194,10 @@ find_extensions='
            DynaLoader|dynaload) ;;
            *)
            this_ext=`echo $xxx | $sed -e s/-/\\\//g`;
+            case "$this_ext" in
+                Scalar/List/Utils) this_ext="List/Util";;
+                PathTools)         this_ext="Cwd";;
+            esac;
            echo " $xs_extensions $nonxs_extensions" > $$.tmp;
            if $contains " $this_ext " $$.tmp; then
                echo >&4;