@@ -20,7 +20,6 @@ options {
2020 with-lsan => "build with Clang LeakSanitizer (non-prod use)"
2121 with-ubsan => "build with Clang UndefinedBehaviorSanitizer (non-prod use)"
2222 with-tsan => "build with Clang ThreadSanitizer (non-prod use)"
23- with-libcurl => "build with libcurl via pkg-config"
2423 with-openssl.pc => "build with openssl via pkg-config"
2524 default-format:txz => "Default compression format: tzst (default), txz, tbz, tar"
2625}
@@ -302,14 +301,6 @@ if {[pkg-config-init 0]} {
302301 define PKG_LIBDNS_LIBS_STATIC [exec pkg-config --static --libs-only-l libldns]
303302 }
304303 }
305- if {[opt-bool with-libcurl]} {
306- if {![pkg-config libcurl]} {
307- user-error "Unable to find libcurl"
308- }
309- user-notice LIBCURL_CFLAGS=[get-define PKG_LIBCURL_CFLAGS]
310- user-notice LIBCURL_LDLAGS=[get-define PKG_LIBCURL_LDFLAGS]
311- user-notice LIBCURL_LIBS=[get-define PKG_LIBCURL_LIBS]
312- }
313304 if {[opt-bool with-libarchive.pc]} {
314305 if {![pkg-config libarchive]} {
315306 user-error "Unable to find libarchive"
@@ -347,7 +338,6 @@ if {[get-define CCACHE] ne {none}} {
347338
348339make-config-header pkg_config.h -bare { DEFAULT_* }
349340make-config-header external/sqlite/sqlite_generated.h
350- make-config-header external/libcurl/curl_cfg.h
351341foreach in [list mk/defs.mk.in libpkg/pkg.h.in libpkg/pkg.pc.in \
352342 tests/frontend/test_environment.sh.in ] {
353343 make-template $in
@@ -360,7 +350,7 @@ foreach dir [list external/blake2 external/picosat \
360350 external/linenoise external/sqlite external/libfetch \
361351 external compat libpkg libpkg/repo libpkg/repo/binary src \
362352 external/libucl external/libelf tests docs \
363- external/liblua external/yxml scripts external/libcurl external/ libder \
353+ external/liblua external/yxml scripts external/libder \
364354 external/libecc] {
365355 make-template $dir/Makefile.autosetup $dir/Makefile
366356 define-append CONF_GEN_FILES $dir/Makefile.autosetup
0 commit comments