summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-06 18:28:47 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-06 19:05:14 +0000
commit238a6851e196b122761952f8b2127d8fe9e01658 (patch)
treefd36f3b360bc61de1459a0300ff917bdc1251aa7 /Configure
parent3f2c382a9c5fe8fca68e8087054db654adef51b7 (diff)
downloadperl-238a6851e196b122761952f8b2127d8fe9e01658.tar.gz
Cope with new-style ext/Data-Dumper as well as old-style ext/Data/Dumper
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/Configure b/Configure
index 6063e53a2e..67c20b5574 100755
--- a/Configure
+++ b/Configure
@@ -21619,10 +21619,12 @@ find_extensions='
case "$xxx" in
DynaLoader|dynaload) ;;
*)
- if $test -f $xxx/$xxx.xs -o -f $xxx/$xxx.c; then
- known_extensions="$known_extensions $1$xxx";
+ this_ext=`echo $xxx | $sed -e s/-/\\\//g`;
+ leaf=`echo $xxx | $sed -e s/.*-//`;
+ if $test -f $xxx/$leaf.xs -o -f $xxx/$leaf.c; then
+ known_extensions="$known_extensions $1$this_ext";
elif $test -f $xxx/Makefile.PL; then
- nonxs_extensions="$nonxs_extensions $1$xxx";
+ nonxs_extensions="$nonxs_extensions $1$this_ext";
else
if $test -d $xxx -a $# -lt 10; then
set $1$xxx/ $*;