From: Viktor Szakats Date: Sat, 24 Aug 2024 09:29:12 +0000 (+0200) Subject: build: delete unused `REQUIRE_LIB_DEPS` X-Git-Tag: curl-8_10_0~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c190338e0f55f3d5a71cf93c86ec3d0bc60099a8;p=thirdparty%2Fcurl.git build: delete unused `REQUIRE_LIB_DEPS` Unused since 97aca0971dbe8e1aa7c9660d1e94af3b1298d9ed #5808 Closes #14671 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ea370505cc..b58e579d3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2036,8 +2036,6 @@ if(NOT CURL_DISABLE_INSTALL) else() set(ENABLE_STATIC "no") endif() - # Set this to "yes" to append all libraries on which -lcurl is dependent - set(REQUIRE_LIB_DEPS "no") # Finally generate a "curl-config" matching this config. # Consumed variables: diff --git a/configure.ac b/configure.ac index 58ab9ae2f9..95b9f9a894 100644 --- a/configure.ac +++ b/configure.ac @@ -503,12 +503,11 @@ AC_SUBST([LIBCURL_PC_CFLAGS]) # Determine whether all dependent libraries must be specified when linking if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"; then - REQUIRE_LIB_DEPS=no + require_lib_deps=no else - REQUIRE_LIB_DEPS=yes + require_lib_deps=yes fi -AC_SUBST(REQUIRE_LIB_DEPS) -AM_CONDITIONAL(USE_EXPLICIT_LIB_DEPS, test x$REQUIRE_LIB_DEPS = xyes) +AM_CONDITIONAL(USE_EXPLICIT_LIB_DEPS, test x$require_lib_deps = xyes) dnl ********************************************************************** dnl platform/compiler/architecture specific checks/flags