summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2017-03-22 12:32:31 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-03-30 19:07:39 +0200
commit793f2573b2beaf8b48eab850429482acf68ec2b1 (patch)
tree9bf8f2357b6188a81f3dface31fa1b95e9471065 /src/external
parent6698d40512e55e7c2d03e14c227c51b1edc77ffa (diff)
downloadsssd-793f2573b2beaf8b48eab850429482acf68ec2b1.tar.gz
sssd-793f2573b2beaf8b48eab850429482acf68ec2b1.tar.xz
sssd-793f2573b2beaf8b48eab850429482acf68ec2b1.zip
build: make curl required by secrets
Also remove --disable-libcurl since it doesn't make sense. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/external')
-rw-r--r--src/external/libcurl.m416
1 files changed, 2 insertions, 14 deletions
diff --git a/src/external/libcurl.m4 b/src/external/libcurl.m4
index b420b04ad..42be308cd 100644
--- a/src/external/libcurl.m4
+++ b/src/external/libcurl.m4
@@ -1,17 +1,5 @@
-AC_ARG_ENABLE([curl],
- [AS_HELP_STRING([--disable-curl-support],
- [do not build with libcurl support])],
- [enable_libcurl=$enableval],
- [enable_libcurl=yes])
-
-found_libcurl="no"
-AS_IF([test x$enable_libcurl = xyes],
- [PKG_CHECK_MODULES([CURL],
- [libcurl],
- [found_libcurl=yes],
- [AC_MSG_ERROR([
-The libcurl development library was not found.])
- ])])
+PKG_CHECK_MODULES([CURL], [libcurl], [found_libcurl=yes],
+ [AC_MSG_ERROR([The libcurl development library was not found.])])
AS_IF([test x"$found_libcurl" = xyes],
CFLAGS="$CFLAGS $CURL_CFLAGS"