Fix --disable-static and --enable-static=no

This commit is contained in:
Lily Foster
2022-10-03 20:13:43 -04:00
parent f36059324c
commit 4a9c4027b8
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -4101,7 +4101,7 @@ fi
# Check whether --enable-static was given.
if test ${enable_static+y}
then :
enableval=$enable_static; static_build="yes"
enableval=$enable_static; static_build="$enableval"
else $as_nop
static_build="no"

View File

@@ -11,7 +11,7 @@ AC_CHECK_TOOL([STRIP], [strip])
AC_ARG_ENABLE([static],
[AS_HELP_STRING([--enable-static],
[Build curl-impersonate statically with libcurl-impersonate])],
[AC_SUBST([static_build], ["yes"])],
[AC_SUBST([static_build], ["$enableval"])],
[AC_SUBST([static_build], ["no"])])
# Let the user optionally specify the path to zlib.