From: Jarkko Hietaniemi Date: Fri, 25 Apr 2003 20:19:36 +0000 (+0000) Subject: Now the -Dnoextensions and -Dnoextensions have the X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef0c5be8e249491a0c8827f489c199b1ea6984d3;p=p5sagit%2Fp5-mst-13.2.git Now the -Dnoextensions and -Dnoextensions have the chance of actually doing something. p4raw-id: //depot/perl@19337 --- diff --git a/Configure b/Configure index 90062ba..32a0d19 100755 --- a/Configure +++ b/Configure @@ -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$$ <&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