diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-06 18:28:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-06 19:05:14 +0000 |
commit | 238a6851e196b122761952f8b2127d8fe9e01658 (patch) | |
tree | fd36f3b360bc61de1459a0300ff917bdc1251aa7 /Configure | |
parent | 3f2c382a9c5fe8fca68e8087054db654adef51b7 (diff) | |
download | perl-238a6851e196b122761952f8b2127d8fe9e01658.tar.gz |
Cope with new-style ext/Data-Dumper as well as old-style ext/Data/Dumper
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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/ $*; |