summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a31f5b1..af7a301 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,24 +26,26 @@ AC_ARG_ENABLE([konforka],
26 [ 26 [
27 test "${enableval}" = "no" && WANT_KONFORKA="no" 27 test "${enableval}" = "no" && WANT_KONFORKA="no"
28 ] 28 ]
29) 29)
30if test "${WANT_KONFORKA}" = "yes" ; then 30if test "${WANT_KONFORKA}" = "yes" ; then
31 PKG_CHECK_MODULES([KONFORKA],[konforka],[ 31 PKG_CHECK_MODULES([KONFORKA],[konforka],[
32 AC_MSG_RESULT([yes]) 32 AC_MSG_RESULT([yes])
33 AC_SUBST([KONFORKA_CFLAGS]) 33 AC_SUBST([KONFORKA_CFLAGS])
34 AC_SUBST([KONFORKA_LIBS]) 34 AC_SUBST([KONFORKA_LIBS])
35 AC_DEFINE([HAVE_KONFORKA],,[defined in presence of konforka library]) 35 AC_DEFINE([HAVE_KONFORKA],,[defined in presence of konforka library])
36 AC_DEFINE([OPKELE_HAVE_KONFORKA],,[defined in presence of konforka library]) 36 AC_DEFINE([OPKELE_HAVE_KONFORKA],,[defined in presence of konforka library])
37 AC_SUBST([KONFORKA_KONFORKA],[konforka]) 37 AC_SUBST([KONFORKA_KONFORKA],[konforka])
38 ],[
39 AC_MSG_RESULT([no])
38 ] 40 ]
39 ) 41 )
40fi 42fi
41 43
42AC_LANG_PUSH([C++]) 44AC_LANG_PUSH([C++])
43 AC_CHECK_LIB([mimetic],[main],[ 45 AC_CHECK_LIB([mimetic],[main],[
44 MIMETIC_LIBS=-lmimetic 46 MIMETIC_LIBS=-lmimetic
45 AC_SUBST([MIMETIC_CFLAGS]) 47 AC_SUBST([MIMETIC_CFLAGS])
46 AC_SUBST([MIMETIC_LIBS]) 48 AC_SUBST([MIMETIC_LIBS])
47 ],[ 49 ],[
48 AC_MSG_ERROR([no mimetic library found. get one from http://codesink.org/mimetic_mime_library.html]) 50 AC_MSG_ERROR([no mimetic library found. get one from http://codesink.org/mimetic_mime_library.html])
49 ] 51 ]