summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac25
1 files changed, 9 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac
index 4729e92..3d67866 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,12 +13,9 @@ AC_HEADER_STDC
13AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) 13AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
14AC_WITH_PKGCONFIG 14AC_WITH_PKGCONFIG
15 15
16PKG_CHECK_MODULES([OPENSSL],[openssl],[ 16PKG_CHECK_MODULES([OPENSSL],[openssl],,[
17 AC_MSG_RESULT([yes]) 17 AC_MSG_ERROR([no openssl library found. get one from http://www.openssl.org/])
18 ],[ 18])
19 AC_MSG_ERROR([no openssl library found. get one from http://www.openssl.org/])
20 ]
21)
22 19
23WANT_KONFORKA="yes" 20WANT_KONFORKA="yes"
24AC_ARG_ENABLE([konforka], 21AC_ARG_ENABLE([konforka],
@@ -29,16 +26,12 @@ AC_ARG_ENABLE([konforka],
29) 26)
30if test "${WANT_KONFORKA}" = "yes" ; then 27if test "${WANT_KONFORKA}" = "yes" ; then
31 PKG_CHECK_MODULES([KONFORKA],[konforka],[ 28 PKG_CHECK_MODULES([KONFORKA],[konforka],[
32 AC_MSG_RESULT([yes]) 29 AC_SUBST([KONFORKA_CFLAGS])
33 AC_SUBST([KONFORKA_CFLAGS]) 30 AC_SUBST([KONFORKA_LIBS])
34 AC_SUBST([KONFORKA_LIBS]) 31 AC_DEFINE([HAVE_KONFORKA],,[defined in presence of konforka library])
35 AC_DEFINE([HAVE_KONFORKA],,[defined in presence of konforka library]) 32 AC_DEFINE([OPKELE_HAVE_KONFORKA],,[defined in presence of konforka library])
36 AC_DEFINE([OPKELE_HAVE_KONFORKA],,[defined in presence of konforka library]) 33 AC_SUBST([KONFORKA_KONFORKA],[konforka])
37 AC_SUBST([KONFORKA_KONFORKA],[konforka]) 34 ])
38 ],[
39 AC_MSG_RESULT([no])
40 ]
41 )
42fi 35fi
43 36
44WANT_DOXYGEN="yes" 37WANT_DOXYGEN="yes"