-rw-r--r-- | configure.ac | 25 |
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 | |||
13 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) | 13 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) |
14 | AC_WITH_PKGCONFIG | 14 | AC_WITH_PKGCONFIG |
15 | 15 | ||
16 | PKG_CHECK_MODULES([OPENSSL],[openssl],[ | 16 | PKG_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 | ||
23 | WANT_KONFORKA="yes" | 20 | WANT_KONFORKA="yes" |
24 | AC_ARG_ENABLE([konforka], | 21 | AC_ARG_ENABLE([konforka], |
@@ -29,16 +26,12 @@ AC_ARG_ENABLE([konforka], | |||
29 | ) | 26 | ) |
30 | if test "${WANT_KONFORKA}" = "yes" ; then | 27 | if 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 | ) | ||
42 | fi | 35 | fi |
43 | 36 | ||
44 | WANT_DOXYGEN="yes" | 37 | WANT_DOXYGEN="yes" |