[poppler] poppler: ChangeLog,1.486,1.487 configure.ac,1.68,1.69
Brad Hards
bradh at kemper.freedesktop.org
Sat Mar 3 23:30:42 PST 2007
Update of /cvs/poppler/poppler
In directory kemper:/tmp/cvs-serv19905a
Modified Files:
ChangeLog configure.ac
Log Message:
Switch to using pkg-config to find Qt4.
Index: ChangeLog
===================================================================
RCS file: /cvs/poppler/poppler/ChangeLog,v
retrieving revision 1.486
retrieving revision 1.487
diff -u -d -r1.486 -r1.487
--- ChangeLog 25 Feb 2007 00:34:21 -0000 1.486
+++ ChangeLog 4 Mar 2007 07:30:31 -0000 1.487
@@ -1,3 +1,12 @@
+2007-03-06 Brad Hards <bradh at kde.org>
+
+ * configure.ac
+ * m4/qt.m4
+ * poppler/Makefile.am
+ * qt4/src/Makefile.am
+ * qt4/tests/Makefile.am
+ Switch to using pkg-config to find Qt4.
+
2007-02-25 Julien Rebetez <julienr at svn.gnome.org>
reviewed by: Albert Astals Cid <aacid at kde.org>
Index: configure.ac
===================================================================
RCS file: /cvs/poppler/poppler/configure.ac,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- configure.ac 24 Feb 2007 23:43:34 -0000 1.68
+++ configure.ac 4 Mar 2007 07:30:31 -0000 1.69
@@ -220,35 +220,32 @@
dnl
dnl Try Qt4
dnl
-AC_ARG_ENABLE(poppler-qt4,
- AC_HELP_STRING([--disable-poppler-qt4],
- [Don't compile poppler Qt4 wrapper.]),
- enable_poppler_qt4=$enableval,
- enable_poppler_qt4="try")
+AC_ARG_ENABLE(poppler-qt4,
+ AC_HELP_STRING([--disable-poppler-qt4],
+ [Don't compile poppler Qt4 wrapper.]),
+ enable_poppler_qt4=$enableval,
+ enable_poppler_qt4="try")
if test x$enable_poppler_qt4 = xyes; then
- POPPLER_FIND_QT4(POPPLER_QT4)
+ PKG_CHECK_MODULES(POPPLER_QT4,
+ QtCore >= 4.1.0 QtGui >= 4.1.0 QtXml >= 4.1.0 QtTest >= 4.1.0)
elif test x$enable_poppler_qt4 = xtry; then
- POPPLER_FIND_QT4(POPPLER_QT4,
- [enable_poppler_qt4="yes"],
- [enable_poppler_qt4="no"])
+ PKG_CHECK_MODULES(POPPLER_QT4,
+ QtCore >= 4.1.0 QtGui >= 4.1.0 QtXml >= 4.1.0 QtTest >= 4.1.0,
+ [enable_poppler_qt4="yes"],
+ [enable_poppler_qt4="no"])
fi
AC_SUBST(POPPLER_QT4_CXXFLAGS)
AC_SUBST(POPPLER_QT4_LIBS)
-AM_CONDITIONAL(BUILD_POPPLER_QT4, test "x$enable_poppler_qt4" = "xyes")
-if test x$enable_poppler_qt4 = xyes; then
- POPPLER_FIND_QT4TEST(POPPLER_QTTEST,
- [enable_poppler_qt4testlib="yes"],
- [enable_poppler_qt4testlib="no"])
- AC_SUBST(POPPLER_QTTEST_CXXFLAGS)
- AC_SUBST(POPPLER_QTTEST_LIBS)
-else
- enable_poppler_qt4testlib="no"
+if test x$enable_splash_output != xyes; then
+ if test x$enable_poppler_qt4 = xyes; then
+ enable_poppler_qt4="no because of disabled splash"
+ fi
fi
-AM_CONDITIONAL(BUILD_POPPLER_QT4TESTS, test x$enable_poppler_qt4testlib = xyes)
+AM_CONDITIONAL(BUILD_POPPLER_QT4, test "x$enable_poppler_qt4" = "xyes")
AC_ARG_ENABLE(gtk-test,
AC_HELP_STRING([--disable-gtk-test],
@@ -332,7 +329,6 @@
echo " cairo output: $enable_cairo_output"
echo " qt wrapper: $enable_poppler_qt"
echo " qt4 wrapper: $enable_poppler_qt4"
-echo " qt4 unittests: $enable_poppler_qt4testlib"
echo " glib wrapper: $enable_poppler_glib"
echo " use gtk-doc: $enable_gtk_doc"
echo " use libjpeg: $enable_libjpeg"
More information about the poppler
mailing list