aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <git@madler.net>2026-02-12 22:28:57 -0800
committerMark Adler <git@madler.net>2026-02-12 22:32:06 -0800
commitaa82531bc524474d69092953ad08f05b53078390 (patch)
treee699cb7893305183e54de374511b48786e8f6b5b
parent00aa188dab2ed018ccafc3c074da6fe6efcb5ab1 (diff)
downloadzlib-aa82531bc524474d69092953ad08f05b53078390.tar.gz
zlib-aa82531bc524474d69092953ad08f05b53078390.tar.bz2
zlib-aa82531bc524474d69092953ad08f05b53078390.zip
Permit all ./configure parameters to use '=' or ' '.
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 4adb3069..6d32659a 100755
--- a/configure
+++ b/configure
@@ -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 ;;