diff options
author | Stephan Raue <stephan@openelec.tv> | 2015-02-11 19:31:56 +0100 |
---|---|---|
committer | Stephan Raue <stephan@openelec.tv> | 2015-02-17 19:49:45 +0100 |
commit | 08d3906995ed3016d67e077aaef50a691d7ba39d (patch) | |
tree | 36aa3c48f24f9e4d6bead2032a6cb670a2591c0d /configure.in | |
parent | d9140214857490ed96ed6455ff5888c0570c8c1f (diff) |
[configure.in] use pkgconfig to detect curl
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 121f41c9a6..95eeba95b3 100644 --- a/configure.in +++ b/configure.in @@ -1065,7 +1065,7 @@ AC_CHECK_HEADER([ogg/ogg.h],, AC_MSG_ERROR($missing_library)) AC_CHECK_HEADER([vorbis/vorbisfile.h],, AC_MSG_ERROR($missing_library)) AC_CHECK_HEADER([libmodplug/modplug.h],, AC_MSG_ERROR($missing_library)) -AC_CHECK_HEADER([curl/curl.h],, AC_MSG_ERROR($missing_library)) +PKG_CHECK_MODULES([LIBCURL], [libcurl],, AC_MSG_ERROR([libcurl not found])) XB_FIND_SONAME([CURL], [curl]) AC_MSG_CHECKING([for CRYPTO_set_locking_callback(0) in $CURL_SONAME]) if test "$host_vendor" = "apple" ; then |