summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2001-06-24 01:24:40 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-24 14:20:38 +0000
commitee45ea83446ac2a5509132d56264e1dd7b9ae1f6 (patch)
treec65e35733d84e8175d2fe8b820ff6d7867233f2e /Configure
parent25f5609c00aaa1dfc8054cef4afd8c7e81a15a00 (diff)
downloadperl-ee45ea83446ac2a5509132d56264e1dd7b9ae1f6.tar.gz
Re: [PATCH 5.6.1] OS2 Configure
Message-ID: <20010624052440.A27698@math.ohio-state.edu> p4raw-id: //depot/perl@10892
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure14
1 files changed, 13 insertions, 1 deletions
diff --git a/Configure b/Configure
index 9ba959e84f..92829085a9 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 Jun 23 17:56:36 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Sun Jun 24 18:18:07 EET DST 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -1190,12 +1190,24 @@ config_args='$*'
config_argc=$#
EOSH
argn=1
+args_exp=''
+args_sep=''
for arg in "$@"; do
cat >>cmdline.opt <<EOSH
config_arg$argn='$arg'
EOSH
+ # Extreme backslashitis: replace each ' by '"'"'
+ cat <<EOC | sed -e "s/'/'"'"'"'"'"'"'/g" > cmdl.opt
+$arg
+EOC
+ arg_exp=`cat cmdl.opt`
+ args_exp="$args_exp$args_sep'$arg_exp'"
argn=`expr $argn + 1`
+ args_sep=' '
done
+# args_exp is good for restarting self: eval "set X $args_exp"; shift; $0 "$@"
+# used by ./hints/os2.sh
+rm -f cmdl.opt
: produce awk script to parse command line options
cat >options.awk <<'EOF'