mirror of https://github.com/djcb/mu.git
* configure.ac: check for webkit
This commit is contained in:
parent
0686634082
commit
3115443b17
18
configure.ac
18
configure.ac
|
@ -1,4 +1,4 @@
|
|||
## Copyright (C) 2008-2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
## Copyright (C) 2008-2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
|
@ -114,6 +114,14 @@ AC_SUBST(GMIME_CFLAGS)
|
|||
AC_SUBST(GMIME_LIBS)
|
||||
|
||||
|
||||
# webkit? needed for the fancy web widget
|
||||
PKG_CHECK_MODULES(WEBKIT,webkit-1.0,[have_webkit=yes],[have_webkit=no])
|
||||
AS_IF([test "x$have_webkit" = "xyes"],[
|
||||
webkit_version="`pkg-config --modversion webkit-1.0`"])
|
||||
AC_SUBST(WEBKIT_CFLAGS)
|
||||
AC_SUBST(WEBKIT_LIBS)
|
||||
AM_CONDITIONAL(HAVE_WEBKIT, [test "x$have_webkit" = "xyes"])
|
||||
|
||||
|
||||
# xapian?
|
||||
AC_CHECK_PROG(XAPIAN,xapian-config,xapian-config,no)
|
||||
|
@ -144,9 +152,6 @@ AC_SUBST(XAPIAN_LIBS)
|
|||
AC_DEFINE(MU_XAPIAN_DB_VERSION,["9.0"], [Schema version of the database])
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# we test for gtk, which we need if we want to build 'mug'; for
|
||||
# experiments it can try to build with gtk3, but since that is still
|
||||
# under development, you need to explicitly enable this with '--with-gtk3'
|
||||
|
@ -217,10 +222,15 @@ fi
|
|||
echo "Xapian version : $xapian_version"
|
||||
echo "GLib version : $glib_version"
|
||||
echo "GMime version : $gmime_version"
|
||||
|
||||
if test "x$have_gtk" != "xno"; then
|
||||
echo "GTK+ version : $gtk_version"
|
||||
fi
|
||||
|
||||
if test "x$have_webkit" != "xno"; then
|
||||
echo "Webkit version : $webkit_version"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Build unit tests (glib >= 2.22) : $have_gtest"
|
||||
echo "Build 'mug' (requires GTK+) : $have_gtk"
|
||||
|
|
Loading…
Reference in New Issue