summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2020-05-06 21:31:17 +0100
committerRoss Burton <ross.burton@intel.com>2020-05-06 21:40:30 +0100
commit4d6630a513a9be44f8185f2fab935b9ebd9e96f4 (patch)
tree3c663c632d817b3dd6b0e6e56fe181898ce330a9 /meson.build
parente5cd9c8470eb1288daf478eb1b3da52f6e3a9708 (diff)
downloadlibsoup-4d6630a513a9be44f8185f2fab935b9ebd9e96f4.tar.gz
tests: check for curl at runtime
Don't use the presence of curl at configure time to decide whether to run these tests when installed. Instead of always respecting HAVE_CURL which makes no sense for the installed tests, simply check if curl is present at test runtime and skip if not. Also remove HAVE_CURL from meson.build as this removes all users.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 0 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index acfc798c..fffbb42f 100644
--- a/meson.build
+++ b/meson.build
@@ -280,8 +280,6 @@ if not tests_ready
warning('Some regression tests will not be compiled due to missing libraries or modules. Please check the logs for more details.')
endif
-cdata.set('HAVE_CURL', find_program('curl', required : false).found())
-
##################
# GSSAPI support #
##################