diff options
| author | Mark Adler <git@madler.net> | 2026-02-12 22:28:57 -0800 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-02-12 22:32:06 -0800 |
| commit | aa82531bc524474d69092953ad08f05b53078390 (patch) | |
| tree | e699cb7893305183e54de374511b48786e8f6b5b | |
| parent | 00aa188dab2ed018ccafc3c074da6fe6efcb5ab1 (diff) | |
| download | zlib-aa82531bc524474d69092953ad08f05b53078390.tar.gz zlib-aa82531bc524474d69092953ad08f05b53078390.tar.bz2 zlib-aa82531bc524474d69092953ad08f05b53078390.zip | |
Permit all ./configure parameters to use '=' or ' '.
| -rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -135,7 +135,10 @@ case "$1" in | |||
| 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 ;; |
| 138 | --sharedlibdir) sharedlibdir="$2"; shift; shift ;; | ||
| 138 | -i* | --includedir) includedir="$2"; shift; shift ;; | 139 | -i* | --includedir) includedir="$2"; shift; shift ;; |
| 140 | -m* | --mandir) mandir="$2"; shift; shift ;; | ||
| 141 | -u* | --uname) uname="$2"; shift; shift ;; | ||
| 139 | -s* | --shared | --enable-shared) shared=1; shift ;; | 142 | -s* | --shared | --enable-shared) shared=1; shift ;; |
| 140 | -t | --static) shared=0; shift ;; | 143 | -t | --static) shared=0; shift ;; |
| 141 | --solo) solo=1; shift ;; | 144 | --solo) solo=1; shift ;; |
| @@ -143,6 +146,7 @@ case "$1" in | |||
| 143 | -z* | --zprefix) zprefix=1; shift ;; | 146 | -z* | --zprefix) zprefix=1; shift ;; |
| 144 | -6* | --64) build64=1; shift ;; | 147 | -6* | --64) build64=1; shift ;; |
| 145 | -a*=* | --archs=*) ARCHS=`echo $1 | sed 's/[^=]*=//'`; shift ;; | 148 | -a*=* | --archs=*) ARCHS=`echo $1 | sed 's/[^=]*=//'`; shift ;; |
| 149 | -a* | --archs) ARCHS="$2"; shift; shift ;; | ||
| 146 | --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;; | 150 | --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;; |
| 147 | --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;; | 151 | --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;; |
| 148 | -c* | --const) zconst=1; shift ;; | 152 | -c* | --const) zconst=1; shift ;; |
