This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch 22835 Failed to upgrade all the new files in Encode 2.01
[perl5.git]
/
configure.gnu
diff --git
a/configure.gnu
b/configure.gnu
index
fa46532
..
46cc494
100755
(executable)
--- a/
configure.gnu
+++ b/
configure.gnu
@@
-4,7
+4,7
@@
#
# GNU configure-like front end to metaconfig's Configure.
#
#
# GNU configure-like front end to metaconfig's Configure.
#
-# Written by Andy Dougherty <doughera@laf
col.laf
ayette.edu>
+# Written by Andy Dougherty <doughera@lafayette.edu>
# and Matthew Green <mrg@mame.mu.oz.au>.
#
# Reformatted and modified for inclusion in the dist-3.0 package by
# and Matthew Green <mrg@mame.mu.oz.au>.
#
# Reformatted and modified for inclusion in the dist-3.0 package by
@@
-65,6
+65,12
@@
EOM
opts="$opts $arg"
shift
;;
opts="$opts $arg"
shift
;;
+ --prefix)
+ shift
+ arg="-Dprefix=$1"
+ opts="$opts $arg"
+ shift
+ ;;
--cache-file=*)
shift # Just ignore it.
;;
--cache-file=*)
shift # Just ignore it.
;;
@@
-86,7
+92,7
@@
EOM
exit 1
;;
*)
exit 1
;;
*)
- opts="$opts
$1
"
+ opts="$opts
'$1'
"
shift
;;
esac
shift
;;
esac
@@
-111,6
+117,14
@@
case "$ccflags" in
'') ;;
*) opts="$opts -Dccflags='$ccflags'";;
esac
'') ;;
*) opts="$opts -Dccflags='$ccflags'";;
esac
+case "$LDFLAGS" in
+'') ;;
+*) ldflags="$ldflags $LDFLAGS";;
+esac
+case "$ldflags" in
+'') ;;
+*) opts="$opts -Dldflags='$ldflags'";;
+esac
# Don't use -s if they want verbose mode
case "$verbose" in
# Don't use -s if they want verbose mode
case "$verbose" in
@@
-118,7
+132,7
@@
case "$verbose" in
*) copt="$copt -d";;
esac
*) copt="$copt -d";;
esac
-set X sh Configure $copt $create $opts
+eval "set X sh Configure $copt $create $opts"
shift
echo "$@"
exec "$@"
shift
echo "$@"
exec "$@"