]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build: delete unused `REQUIRE_LIB_DEPS`
authorViktor Szakats <commit@vsz.me>
Sat, 24 Aug 2024 09:29:12 +0000 (11:29 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 26 Aug 2024 09:00:57 +0000 (11:00 +0200)
Unused since 97aca0971dbe8e1aa7c9660d1e94af3b1298d9ed #5808

Closes #14671

CMakeLists.txt
configure.ac

index ea370505cca142ed2269a57269acab33791dde82..b58e579d3d32c0e58c5264c71f7461fdf195e069 100644 (file)
@@ -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:
index 58ab9ae2f9bbd4257f6d4d9e1f146107310bd45a..95b9f9a8944c3168624a02fa642dba4768d629a7 100644 (file)
@@ -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