summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-09 08:34:14 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-09 08:34:14 +0000
commit1beaf950c9849e6ea7b7c3f7c5d114e21975d327 (patch)
tree309337e92f48861bb3c6caaf46da01844d856471 /m4
parentdaab98b057be572898c131de7e3eb7ddd571e920 (diff)
downloadzabbix-1beaf950c9849e6ea7b7c3f7c5d114e21975d327.tar.gz
zabbix-1beaf950c9849e6ea7b7c3f7c5d114e21975d327.tar.xz
zabbix-1beaf950c9849e6ea7b7c3f7c5d114e21975d327.zip
- fixed compilation with curl library
git-svn-id: svn://svn.zabbix.com/trunk@4100 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'm4')
-rw-r--r--m4/libcurl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4
index f1840223..3fd84173 100644
--- a/m4/libcurl.m4
+++ b/m4/libcurl.m4
@@ -128,7 +128,7 @@ AC_HELP_STRING([--with-libcurl@<:@=DIR@:>@],[use cURL library @<:@default=yes@:>
if test "x$enable_static" = "xyes"; then
for i in $_full_libcurl_libs; do
case $i in
- -llibcurl)
+ -lcurl)
;;
-l*)
_lib_name=`echo "$i" | cut -b3-`
@@ -147,7 +147,7 @@ AC_HELP_STRING([--with-libcurl@<:@=DIR@:>@],[use cURL library @<:@default=yes@:>
LDFLAGS="${LDFLAGS} ${LIBCURL_LDFLAGS}"
CFLAGS="${CFLAGS} ${LIBCURL_CFLAGS}"
- AC_CHECK_LIB(libcurl, main, , AC_MSG_ERROR([Not found libcurl library]))
+ AC_CHECK_LIB(curl, main, , AC_MSG_ERROR([Not found libcurl library]))
LIBS="${_save_curl_libs}"
LDFLAGS="${_save_curl_ldflags}"