summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-11-19 19:31:17 (UTC)
committer Michael Krelin <hacker@klever.net>2007-11-19 19:31:17 (UTC)
commitbc8cecfcf7e1dc593249200556e5553d7d025c05 (patch) (unidiff)
treecc08526c9d193b5436b33bf054480a840f4a7225
parent09494e1183dba8879d438b57f6921f46518087b0 (diff)
downloadlibopkele-bc8cecfcf7e1dc593249200556e5553d7d025c05.zip
libopkele-bc8cecfcf7e1dc593249200556e5553d7d025c05.tar.gz
libopkele-bc8cecfcf7e1dc593249200556e5553d7d025c05.tar.bz2
fix previous commit
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 68872d9..50dd8d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,32 +43,33 @@ AC_ARG_ENABLE([doxygen],
43) 43)
44if test "${WANT_DOXYGEN}" = "yes" ; then 44if test "${WANT_DOXYGEN}" = "yes" ; then
45 AC_WITH_DOXYGEN 45 AC_WITH_DOXYGEN
46 AC_WITH_DOT 46 AC_WITH_DOT
47else 47else
48 AM_CONDITIONAL([HAVE_DOXYGEN],[false]) 48 AM_CONDITIONAL([HAVE_DOXYGEN],[false])
49 AM_CONDITIONAL([HAVE_DOT],[false]) 49 AM_CONDITIONAL([HAVE_DOT],[false])
50fi 50fi
51 51
52LIBCURL_CHECK_CONFIG(,,,[ 52LIBCURL_CHECK_CONFIG(,,,[
53 AC_MSG_ERROR([no required libcurl library. get one from http://curl.haxx.se/]) 53 AC_MSG_ERROR([no required libcurl library. get one from http://curl.haxx.se/])
54]) 54])
55 55
56if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then 56if test -n "$PCRE_LIBS" -a -n "$PCRE_CFLAGS" ; then
57 AC_SUBST([PCRE_CFLAGS]) 57 AC_SUBST([PCRE_CFLAGS])
58 AC_SUBST([PCRE_LIBS]) 58 AC_SUBST([PCRE_LIBS])
59 :
59else 60else
60 PKG_CHECK_MODULES([PCRE],[libpcre],,[ 61 PKG_CHECK_MODULES([PCRE],[libpcre],,[
61 AC_MSG_ERROR([no libpcre found, go get it at http://www.pcre.org/]) 62 AC_MSG_ERROR([no libpcre found, go get it at http://www.pcre.org/])
62 ]) 63 ])
63fi 64fi
64 65
65curl_ssl_verify_host="true" 66curl_ssl_verify_host="true"
66AC_ARG_ENABLE([ssl-verify-host], 67AC_ARG_ENABLE([ssl-verify-host],
67 AC_HELP_STRING([--disable-ssl-verify-host],[disable cURL cert/host relationships verification]), 68 AC_HELP_STRING([--disable-ssl-verify-host],[disable cURL cert/host relationships verification]),
68 [ test "${enableval}" = "no" && curl_ssl_verify_host="false" ] 69 [ test "${enableval}" = "no" && curl_ssl_verify_host="false" ]
69) 70)
70${curl_ssl_verify_host} || AC_DEFINE([DISABLE_CURL_SSL_VERIFYHOST],,[defined if cURL is not to verify cert/host]) 71${curl_ssl_verify_host} || AC_DEFINE([DISABLE_CURL_SSL_VERIFYHOST],,[defined if cURL is not to verify cert/host])
71 72
72curl_ssl_verify_peer="true" 73curl_ssl_verify_peer="true"
73AC_ARG_ENABLE([ssl-verify-peer], 74AC_ARG_ENABLE([ssl-verify-peer],
74 AC_HELP_STRING([--disable-ssl-verify-peer],[disable cURL cert validity verification]), 75 AC_HELP_STRING([--disable-ssl-verify-peer],[disable cURL cert validity verification]),