diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-10 09:36:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-10 09:37:25 +0000 |
commit | 1f8a0b38638b171cf789a9f44cc9e8cd38bbf4d3 (patch) | |
tree | 3978bb86815d72bc2ebea4e358d2d967554918a7 /Configure | |
parent | abf03c67bea75a29ee380ba8221f08fdabaab537 (diff) | |
download | perl-1f8a0b38638b171cf789a9f44cc9e8cd38bbf4d3.tar.gz |
All extensions are at the top level, so no longer any need to recurse.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -21612,8 +21612,7 @@ nonxs_extensions='' : some additional extensions into the source tree and expect them : to be built. -: Function to recursively find available extensions, ignoring DynaLoader -: NOTE: recursion limit of 10 to prevent runaway in case of symlink madness +: Function to find available extensions, ignoring DynaLoader find_extensions=' for xxx in *; do case "$xxx" in @@ -21622,17 +21621,9 @@ find_extensions=' 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$this_ext"; - else - if $test -d $xxx -a $# -lt 10; then - set $1$xxx/ $*; - cd "$xxx"; - eval $find_extensions; - cd ..; - shift; - fi; + known_extensions="$known_extensions $this_ext"; + elif $test -d $xxx; then + nonxs_extensions="$nonxs_extensions $this_ext"; fi ;; esac; |