From 4a9c4027b8ad5e81b1be88a0f7c149eb754165eb Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Mon, 3 Oct 2022 20:13:43 -0400 Subject: [PATCH] Fix --disable-static and --enable-static=no --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 88e4976..c24d4c0 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.ac b/configure.ac index 5b7e997..2d043bf 100644 --- a/configure.ac +++ b/configure.ac @@ -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.