diff options
author | Thomas Haller <thaller@redhat.com> | 2023-05-11 14:26:35 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-05-11 14:26:35 +0200 |
commit | b3db68a87ddda477a9f85790889401a1a37f16b0 (patch) | |
tree | 58a70942560ff941da98c82da39839e33aef4a57 /configure.ac | |
parent | ae5147915804b8251f6e8727530646dbe4b87119 (diff) | |
parent | 1d9a2f4dc37cba1635d1b80fa83883365ef24e01 (diff) | |
download | NetworkManager-th/tmp.tar.gz |
Merge remote-tracking branch 'origin/th/build-fixes-cloud-setup' into lr/more-cloud-setup-teststh/tmp
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4858aacd5e..98efaa2e21 100644 --- a/configure.ac +++ b/configure.ac @@ -1049,6 +1049,7 @@ else fi AM_CONDITIONAL(WITH_LIBPSL, test "$with_libpsl" != "no") +have_libcurl='' AC_ARG_ENABLE(concheck, AS_HELP_STRING([--enable-concheck], [enable connectivity checking support]), @@ -1085,9 +1086,11 @@ fi AM_CONDITIONAL(BUILD_NMCLI, test "$build_nmcli" = yes) AC_ARG_WITH(nm-cloud-setup, - AS_HELP_STRING([--with-nm-cloud-setup=yes|no], [Build nm-cloud-setup, a tool for automatically configure networking in cloud (EXPERIMENTAL!)])) + AS_HELP_STRING([--with-nm-cloud-setup=yes|no], [Build nm-cloud-setup, a tool for automatically configure networking in cloud])) if test "$with_nm_cloud_setup" != no; then - PKG_CHECK_MODULES(LIBCURL, [libcurl >= 7.24.0], [have_libcurl=yes], [have_libcurl=no]) + if test "$have_libcurl" == ""; then + PKG_CHECK_MODULES(LIBCURL, [libcurl >= 7.24.0], [have_libcurl=yes], [have_libcurl=no]) + fi if test "$have_libcurl" != "yes"; then AC_MSG_ERROR(--with-nm-cloud-setup requires libcurl library.) fi |