fix compilation error when curl is installed in a non-standard location

git-svn: trunk@1657
remotes/push_mirror/metadata
Tomasz Kojm 20 years ago
parent 23a4a7e329
commit f3415849fa
  1. 6
      clamav-devel/ChangeLog
  2. 6
      clamav-devel/configure
  3. 6
      clamav-devel/configure.in

@ -1,3 +1,9 @@
Tue Jul 19 22:07:15 CEST 2005 (tk)
----------------------------------
* configure.in: fix compilation error when curl is installed in a
non-standard location (reported by Serge van den Boom
<svdb*stack.nl>)
Tue Jul 19 21:11:25 CEST 2005 (tk)
----------------------------------
* configure.in: add support for DragonFly (thanks to Joerg Sonnenberger

@ -11400,7 +11400,11 @@ echo $ECHO_N "checking for curl >= $check... $ECHO_C" >&6
if test x$fail != x1; then
curl_libs=`curl-config --libs`
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $curl_libs"
# openssl libs are required to link libcurl
openssl_libs="`pkg-config --libs openssl`"
curl_flags=`curl-config --cflags`
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $curl_libs $openssl_libs"
CPPFLAGS="$CPPFLAGS -I$ZLIB_HOME/include $curl_flags"
my_cv_curl_vers="$ver"
echo "$as_me:$LINENO: result: $my_cv_curl_vers" >&5
echo "${ECHO_T}$my_cv_curl_vers" >&6

@ -220,7 +220,11 @@ then
if test x$fail != x1; then
curl_libs=`curl-config --libs`
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $curl_libs"
# openssl libs are required to link libcurl
openssl_libs="`pkg-config --libs openssl`"
curl_flags=`curl-config --cflags`
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $curl_libs $openssl_libs"
CPPFLAGS="$CPPFLAGS -I$ZLIB_HOME/include $curl_flags"
my_cv_curl_vers="$ver"
AC_MSG_RESULT([$my_cv_curl_vers])
AC_DEFINE(WITH_CURL,1,use libcurl in mbox code)

Loading…
Cancel
Save