f57d3273fe
* NEW: Support for Haiku operating system. * BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages. [GB.FORM] * NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces. [GB.UTIL.WEB] * BUG: Fix collection generation in JSON.Encode(). [GB.WEB.FORM] * NEW: WebImage: Add the Border property. * NEW: WebImage: Image property now can be an absolute path. * BUG: WebButton: Workaround Firefox not supporting flex on buttons. * BUG: WebComboBox: Enabled property is now taken into account. * BUG: WebUploadArea: The file name now keeps the uploaded file extension. git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
55 lines
1.2 KiB
Text
55 lines
1.2 KiB
Text
dnl ---- configure.ac for gb.qt
|
|
|
|
m4_include([../version.m4])
|
|
AC_INIT(gambas3-gb-qt4, GB_VERSION, GB_MAIL, [], GB_URL)
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
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
|
|
AM_CONDITIONAL(XWINDOW, test x"$have_x" = xyes)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qt, QT, gb.qt4, [src],
|
|
'QtCore >= 4.5.0' QtGui QtSvg x11
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qtext, QTEXT, gb.qt4.ext, [ext],
|
|
'QtCore >= 4.5.0' QtGui Qt3Support x11
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qtwebkit, QTWEBKIT, gb.qt4.webkit, [webkit],
|
|
'QtCore >= 4.5.0' QtGui QtNetwork QtDBus QtXml 'QtWebKit >= 4.5.0' x11
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qtopengl, QTOPENGL, gb.qt4.opengl, [opengl],
|
|
'QtCore >= 4.5.0' QtGui QtOpenGL x11 gl
|
|
)
|
|
|
|
MOC=`pkg-config --variable=moc_location QtCore`
|
|
AC_SUBST(MOC)
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
src/ext/Makefile \
|
|
src/webkit/Makefile \
|
|
src/opengl/Makefile \
|
|
)
|
|
|
|
GB_PRINT_MESSAGES
|