From 0e0643c7a6aa4c31988d081081ec9b7f8d9a33b2 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Sat, 7 Dec 1991 10:32:08 +0000 Subject: [PATCH] * configure: \{1,2\} appears to be a sysv'ism. Use a different regexp. --- ChangeLog | 3 +++ configure | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5e94ad3b55..7aa44a1c3a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Sat Dec 7 00:17:01 1991 K. Richard Pixley (rich at rtl.cygnus.com) + * configure: \{1,2\} appears to be a sysv'ism. Use a different + regexp. + * Makefile.in: unwrapped some for loops so that parallel makes work again and so one can focus one's attention on a particular package. diff --git a/configure b/configure index 5510704f31e..8168c101579 100755 --- a/configure +++ b/configure @@ -158,7 +158,7 @@ do clib=clib ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* | --da=* | --d=*) - datadir=`echo ${arg} | sed 's/-\{1,2\}d[a-z]*=//'` + datadir=`echo ${arg} | sed 's/^[-a-z]*=//'` datadiroption=${arg} ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da | --d) @@ -176,7 +176,7 @@ do # fi if [ -z "${hosts}" ] ; then - newhosts="${hosts} `echo ${arg} | sed 's/-\{1,2\}h[a-z]*=//'`" + newhosts="${hosts} `echo ${arg} | sed 's/^[-a-z]*=//'`" hosts="${newhosts}" else echo '***' Can only configure for one host at a time. @@ -186,13 +186,13 @@ do -languages=* | --languages=* | --language=* | --languag=* \ | --langua=* | --langu=* | --lang=* | --lan=* | --la=* \ | --l=*) - languages="${languages} `echo ${arg} | sed 's/-\{1,2\}l[a-z]*=//'`" + languages="${languages} `echo ${arg} | sed 's/^[-a-z]*=//'`" ;; # -namesubdir | --namesubdir | --namesubdi | --namesubd | --namesub | --namesu | --names | --name | --nam | --na) # next_namesubdir=yes # ;; # -namesubdir=* | --namesubdir=* | --namesubdi=* | --namesubd=* | --namesub=* | --namesu=* | --names=* | --name=* | --nam=* | --na=*) -# namesubdir=`echo ${arg} | sed 's/-\{1,2\}na[a-z]*=//'` +# namesubdir=`echo ${arg} | sed 's/^[-a-z]*=//'` # namesubdiroption=${arg} # ;; -nfp | --nf*) @@ -203,13 +203,13 @@ do ;; # -objdir=* | --objdir=* | --objdi=* | --objd=* | --obj=* | --ob=* | --o=*) # objdiroption=${arg} -# objdir=`echo ${arg} | sed 's/-\{1,2\}o[a-z]*=//'` +# objdir=`echo ${arg} | sed 's/^[-a-z]*=//'` # ;; # -objdir | --objdir | --objdi | --objd | --obj | --ob | --o) # next_objdir=yes # ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=`echo ${arg} | sed 's/-\{1,2\}p[a-z]*=//'` + prefix=`echo ${arg} | sed 's/^[-a-z]*=//'` prefixoption=${arg} ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) @@ -223,13 +223,13 @@ do removing=${arg} ;; -site=* | --site=* | --sit=* | --si=*) - site=`echo ${arg} | sed 's/-\{1,2\}s[a-z]*=//'` + site=`echo ${arg} | sed 's/^[-a-z]*=//'` ;; -site | --site | --sit | --si) next_site=yes ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=`echo ${arg} | sed 's/-\{1,2\}s[a-z]*=//'` + srcdir=`echo ${arg} | sed 's/^[-a-z]*=//'` ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) next_srcdir=yes @@ -243,7 +243,7 @@ do # fi if [ -z "${targets}" ] ; then - newtargets="${targets} `echo ${arg} | sed 's/-\{1,2\}t[a-z]*=//'`" + newtargets="${targets} `echo ${arg} | sed 's/^[-a-z]*=//'`" targets="${newtargets}" else echo '***' Can only configure for one target at a time. @@ -255,7 +255,7 @@ do ;; -tmpdir=* | --tmpdir=* | --tmpdi=* | --tmpd=* | --tmp=* | --tm=*) tmpdiroption=${arg} - TMPDIR=`echo ${arg} | sed 's/-\{1,2\}t[a-z]*=//'` + TMPDIR=`echo ${arg} | sed 's/^[-a-z]*=//'` ;; -tmpdir | --tmpdir | --tmpdi | --tmpd | --tmp | --tm) next_tmpdir=yes -- 2.30.2