summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-07-26 15:51:57 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-07-26 20:54:35 +0000
commitf1f199578e0364e6627002fa8cb24605d9485ed4 (patch)
tree944a9d18fb1a42bb631df43e2d8bebcbd9d8a260 /ci
parente09fc83ab3f4b84685eff427acc29642d7d09104 (diff)
downloadostree-f1f199578e0364e6627002fa8cb24605d9485ed4.tar.gz
ci: Enable libcurl by default on Fedora
The insttest fell over since its build used libsoup, but that just dropped out of FAH. Closes: #1030 Approved by: jlebon
Diffstat (limited to 'ci')
-rwxr-xr-xci/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh
index 2d7eb61e..22071764 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -21,4 +21,11 @@ DETECTED_CONFIGOPTS=
if test -x /usr/bin/gnome-desktop-testing-runner; then
DETECTED_CONFIGOPTS="${DETECTED_CONFIGOPTS} --enable-installed-tests=exclusive"
fi
+# Default libcurl on by default in fedora unless libsoup is enabled
+if sh -c '. /etc/os-release; test "${ID}" = fedora'; then
+ case "${CONFIGOPTS:-}" in
+ *--with-soup*) ;;
+ *) CONFIGOPTS="${CONFIGOPTS:-} --with-curl"
+ esac
+fi
build --enable-gtk-doc ${DETECTED_CONFIGOPTS} ${CONFIGOPTS:-}