X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/8f1f23e8b15dc90b39e5be39711437f27f72b526..c6f5816709fd060d06981ce18c7569805a56bf50:/configure.gnu diff --git a/configure.gnu b/configure.gnu index 2ef8331..46cc494 100755 --- a/configure.gnu +++ b/configure.gnu @@ -4,7 +4,7 @@ # # GNU configure-like front end to metaconfig's Configure. # -# Written by Andy Dougherty +# Written by Andy Dougherty # and Matthew Green . # # Reformatted and modified for inclusion in the dist-3.0 package by @@ -65,6 +65,12 @@ EOM opts="$opts $arg" shift ;; + --prefix) + shift + arg="-Dprefix=$1" + opts="$opts $arg" + shift + ;; --cache-file=*) shift # Just ignore it. ;; @@ -86,7 +92,7 @@ EOM exit 1 ;; *) - opts="$opts $1" + opts="$opts '$1'" shift ;; esac @@ -126,7 +132,7 @@ case "$verbose" in *) copt="$copt -d";; esac -set X sh Configure $copt $create $opts +eval "set X sh Configure $copt $create $opts" shift echo "$@" exec "$@"