Commit aa82531 for zlib
commit aa82531bc524474d69092953ad08f05b53078390
Author: Mark Adler <git@madler.net>
Date: Thu Feb 12 22:28:57 2026 -0800
Permit all ./configure parameters to use '=' or ' '.
diff --git a/configure b/configure
index 4adb306..6d32659 100755
--- a/configure
+++ b/configure
@@ -135,7 +135,10 @@ case "$1" in
-p* | --prefix) prefix="$2"; shift; shift ;;
-e* | --eprefix) exec_prefix="$2"; shift; shift ;;
-l* | --libdir) libdir="$2"; shift; shift ;;
+ --sharedlibdir) sharedlibdir="$2"; shift; shift ;;
-i* | --includedir) includedir="$2"; shift; shift ;;
+ -m* | --mandir) mandir="$2"; shift; shift ;;
+ -u* | --uname) uname="$2"; shift; shift ;;
-s* | --shared | --enable-shared) shared=1; shift ;;
-t | --static) shared=0; shift ;;
--solo) solo=1; shift ;;
@@ -143,6 +146,7 @@ case "$1" in
-z* | --zprefix) zprefix=1; shift ;;
-6* | --64) build64=1; shift ;;
-a*=* | --archs=*) ARCHS=`echo $1 | sed 's/[^=]*=//'`; shift ;;
+ -a* | --archs) ARCHS="$2"; shift; shift ;;
--sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;;
--localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;;
-c* | --const) zconst=1; shift ;;