diff options
| author | DoctorNoobingstoneIPresume <DoctorNoobingstoneIPresume@gmail.com> | 2023-09-02 17:24:26 +0300 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-02-12 22:32:06 -0800 |
| commit | 00aa188dab2ed018ccafc3c074da6fe6efcb5ab1 (patch) | |
| tree | db0402c3516baffe3bfbaa7d9916e2cb6d11e7d5 | |
| parent | a793abe0b518be90801fd804ea7d4d0aad70dc34 (diff) | |
| download | zlib-00aa188dab2ed018ccafc3c074da6fe6efcb5ab1.tar.gz zlib-00aa188dab2ed018ccafc3c074da6fe6efcb5ab1.tar.bz2 zlib-00aa188dab2ed018ccafc3c074da6fe6efcb5ab1.zip | |
Permit ./configure parameters using '=' to contain '='.
| -rwxr-xr-x | configure | 16 |
1 files changed, 8 insertions, 8 deletions
| @@ -125,13 +125,13 @@ case "$1" in | |||
| 125 | echo ' [--includedir=INCLUDEDIR] [--mandir=MANDIR]' | tee -a configure.log | 125 | echo ' [--includedir=INCLUDEDIR] [--mandir=MANDIR]' | tee -a configure.log |
| 126 | echo ' [--archs="-arch i386 -arch x86_64"] [--disable-crcvx]' | tee -a configure.log | 126 | echo ' [--archs="-arch i386 -arch x86_64"] [--disable-crcvx]' | tee -a configure.log |
| 127 | exit 0 ;; | 127 | exit 0 ;; |
| 128 | -p*=* | --prefix=*) prefix=`echo $1 | sed 's/.*=//'`; shift ;; | 128 | -p*=* | --prefix=*) prefix=`echo $1 | sed 's/[^=]*=//'`; shift ;; |
| 129 | -e*=* | --eprefix=*) exec_prefix=`echo $1 | sed 's/.*=//'`; shift ;; | 129 | -e*=* | --eprefix=*) exec_prefix=`echo $1 | sed 's/[^=]*=//'`; shift ;; |
| 130 | -l*=* | --libdir=*) libdir=`echo $1 | sed 's/.*=//'`; shift ;; | 130 | -l*=* | --libdir=*) libdir=`echo $1 | sed 's/[^=]*=//'`; shift ;; |
| 131 | --sharedlibdir=*) sharedlibdir=`echo $1 | sed 's/.*=//'`; shift ;; | 131 | --sharedlibdir=*) sharedlibdir=`echo $1 | sed 's/[^=]*=//'`; shift ;; |
| 132 | -i*=* | --includedir=*) includedir=`echo $1 | sed 's/.*=//'`;shift ;; | 132 | -i*=* | --includedir=*) includedir=`echo $1 | sed 's/[^=]*=//'`;shift ;; |
| 133 | -m*=* | --mandir=*) mandir=`echo $1 | sed 's/.*=//'`;shift ;; | 133 | -m*=* | --mandir=*) mandir=`echo $1 | sed 's/[^=]*=//'`;shift ;; |
| 134 | -u*=* | --uname=*) uname=`echo $1 | sed 's/.*=//'`;shift ;; | 134 | -u*=* | --uname=*) uname=`echo $1 | sed 's/[^=]*=//'`;shift ;; |
| 135 | -p* | --prefix) prefix="$2"; shift; shift ;; | 135 | -p* | --prefix) prefix="$2"; shift; shift ;; |
| 136 | -e* | --eprefix) exec_prefix="$2"; shift; shift ;; | 136 | -e* | --eprefix) exec_prefix="$2"; shift; shift ;; |
| 137 | -l* | --libdir) libdir="$2"; shift; shift ;; | 137 | -l* | --libdir) libdir="$2"; shift; shift ;; |
| @@ -142,7 +142,7 @@ case "$1" in | |||
| 142 | --cover) cover=1; shift ;; | 142 | --cover) cover=1; shift ;; |
| 143 | -z* | --zprefix) zprefix=1; shift ;; | 143 | -z* | --zprefix) zprefix=1; shift ;; |
| 144 | -6* | --64) build64=1; shift ;; | 144 | -6* | --64) build64=1; shift ;; |
| 145 | -a*=* | --archs=*) ARCHS=`echo $1 | sed 's/.*=//'`; shift ;; | 145 | -a*=* | --archs=*) ARCHS=`echo $1 | sed 's/[^=]*=//'`; shift ;; |
| 146 | --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;; | 146 | --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;; |
| 147 | --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;; | 147 | --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;; |
| 148 | -c* | --const) zconst=1; shift ;; | 148 | -c* | --const) zconst=1; shift ;; |
