diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-04-25 20:19:36 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-04-25 20:19:36 +0000 |
commit | ef0c5be8e249491a0c8827f489c199b1ea6984d3 (patch) | |
tree | fab3577104a4ac165a0be41dc0e2775dbf254436 /Configure | |
parent | 93a2cd18e0620f7d49cbc853ffd1212b0ccb834a (diff) | |
download | perl-ef0c5be8e249491a0c8827f489c199b1ea6984d3.tar.gz |
Now the -Dnoextensions and -Dnoextensions have the
chance of actually doing something.
p4raw-id: //depot/perl@19337
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 68 |
1 files changed, 34 insertions, 34 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sat Apr 26 00:00:32 EET DST 2003 [metaconfig 3.0 PL70] +# Generated on Sat Apr 26 00:26:09 EET DST 2003 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -20114,6 +20114,39 @@ set X $avail_ext shift avail_ext="$*" +case "$onlyextensions" in +'') ;; +*) keepextensions='' + echo "You have requested that only certains extensions be included..." >&4 + for i in $onlyextensions; do + case " $avail_ext " in + *" $i "*) + echo "Keeping extension $i." + keepextensions="$keepextensions $i" + ;; + *) echo "Ignoring extension $i." ;; + esac + done + avail_ext="$keepextensions" + ;; +esac + +case "$noextensions" in +'') ;; +*) keepextensions='' + echo "You have requested that certain extensions be ignored..." >&4 + for i in $avail_ext; do + case " $i " in + " $noextensions ") echo "Ignoring extension $i." ;; + *) echo "Keeping extension $i."; + keepextensions="$keepextensions $i" + ;; + esac + done + avail_ext="$keepextensions" + ;; +esac + : Now see which nonxs extensions are supported on this system. : For now assume all are. nonxs_ext='' @@ -20266,39 +20299,6 @@ set X $dynamic_ext $static_ext $nonxs_ext shift extensions="$*" -case "$onlyextensions" in -'') ;; -*) keepextensions='' - echo "You have requested that only certains extensions be included..." >&4 - for i in $onlyextensions; do - case " $extensions " in - *" $i "*) - echo "Keeping extension $i." - keepextensions="$keepextensions $i" - ;; - *) echo "Ignoring extension $i." ;; - esac - done - extensions="$keepextensions" - ;; -esac - -case "$noextensions" in -'') ;; -*) keepextensions='' - echo "You have requested that certain extensions be ignored..." >&4 - for i in $extensions; do - case " $i " in - " $noextensions ") echo "Ignoring extension $i." ;; - *) echo "Keeping extension $i."; - keepextensions="$keepextensions $i" - ;; - esac - done - extensions="$keepextensions" - ;; -esac - # Sanity check: We require an extension suitable for use with # AnyDBM_File, as well as Fcntl and IO. (Failure to have these # should show up as failures in the test suite, but it's helpful to |