2008-04-24 14:49:12 +02:00
|
|
|
dnl ---- configure.ac for gb.qt
|
|
|
|
|
|
|
|
AC_INIT(configure.ac)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2008-04-24 14:49:12 +02:00
|
|
|
GB_INIT(gb.qt4)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
|
|
|
qt-translation,
|
|
|
|
[ --enable-qt-translation use qt translation files (default: yes)],
|
|
|
|
gb_use_qt_translation=$enableval,
|
|
|
|
gb_use_qt_translation=yes
|
|
|
|
)
|
|
|
|
|
|
|
|
if test "$gb_use_qt_translation" = "yes"; then
|
|
|
|
AC_DEFINE(USE_QT_TRANSLATION, 1, [Use QT translation])
|
|
|
|
fi
|
|
|
|
|
|
|
|
GB_CHECK_XWINDOW
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
qt,
|
|
|
|
QT,
|
2008-04-29 15:40:55 +02:00
|
|
|
[QT4 toolkit],
|
2008-04-24 14:49:12 +02:00
|
|
|
[src],
|
2009-12-30 00:18:43 +01:00
|
|
|
QtCore ">= 4.3.4" QtGui Qt3Support QtSvg
|
2008-04-29 15:40:55 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
qtext,
|
|
|
|
QTEXT,
|
|
|
|
[QT4 toolkit extension],
|
|
|
|
[ext],
|
|
|
|
QtCore ">= 4.3.4" QtGui Qt3Support
|
2008-04-24 14:49:12 +02:00
|
|
|
)
|
|
|
|
|
2009-07-23 18:53:06 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
qtwebkit,
|
|
|
|
QTWEBKIT,
|
|
|
|
[QT4 webkit component],
|
|
|
|
[webkit],
|
2009-08-24 15:16:24 +02:00
|
|
|
QtCore ">= 4.3.4" QtGui QtNetwork QtDBus QtXml QtWebKit ">= 4.5.0"
|
2009-07-23 18:53:06 +02:00
|
|
|
)
|
|
|
|
|
2008-04-24 14:49:12 +02:00
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
|
|
qtopengl,
|
|
|
|
QTOPENGL,
|
2008-04-29 15:40:55 +02:00
|
|
|
[QT4 OpenGL],
|
2008-04-24 14:49:12 +02:00
|
|
|
[opengl],
|
2009-07-26 14:38:20 +02:00
|
|
|
QtCore ">= 4.3.4" QtGui QtOpenGL
|
2008-04-24 14:49:12 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
MOC=`pkg-config --variable=moc_location QtCore`
|
|
|
|
AC_SUBST(MOC)
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
src/ext/Makefile \
|
2009-07-23 18:53:06 +02:00
|
|
|
src/webkit/Makefile \
|
2008-04-24 14:49:12 +02:00
|
|
|
src/opengl/Makefile \
|
|
|
|
)
|