gambas-source-code/gb.qt4/configure.ac
Benoît Minisini e8e807ee2b [CONFIGURATION]
* BUG: Fix the gb.qt4 configure.ac file so that it works with stupid 
  pkg-config configuration files.

[DEVELOPMENT ENVIRONMENT]
* NEW: An option to define the terminal emulator used by the IDE.
* NEW: Some unused icons were removed from the project.
* BUG: The project tree does not steal the focus anymore after a project 
  compilation.

[GB.NET.SMTP]
* BUG: Fix the UTF-8 encoding of mail subjects having a '?' character 
  inside.

[GB.QT4]
* BUG: Fix the global event filter so that setting Application.Tooltip to 
  False does not interfer with the global key event handler.


git-svn-id: svn://localhost/gambas/trunk@2174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-26 12:38:20 +00:00

70 lines
1.2 KiB
Text

dnl ---- configure.ac for gb.qt
AC_INIT(configure.ac)
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,
[QT4 toolkit],
[src],
QtCore ">= 4.3.4" QtGui Qt3Support
)
GB_COMPONENT_PKG_CONFIG(
qtext,
QTEXT,
[QT4 toolkit extension],
[ext],
QtCore ">= 4.3.4" QtGui Qt3Support
)
GB_COMPONENT_PKG_CONFIG(
qtwebkit,
QTWEBKIT,
[QT4 webkit component],
[webkit],
QtCore ">= 4.3.4" QtGui QtNetwork QtDBus QtXml QtWebKit
)
GB_COMPONENT(
opengl,
OPENGL,
[OpenGL libraries],
[],
[GB_FIND(gl.h glu.h, /usr /usr/X11R6 /usr/local, include/GL)],
[GB_FIND(libGL.$SHLIBEXT libGLU.$SHLIBEXT, /usr /usr/X11R6 /usr/local, lib)],
[-lGL -lGLU])
GB_COMPONENT_PKG_CONFIG(
qtopengl,
QTOPENGL,
[QT4 OpenGL],
[opengl],
QtCore ">= 4.3.4" QtGui QtOpenGL
)
MOC=`pkg-config --variable=moc_location QtCore`
AC_SUBST(MOC)
AC_OUTPUT( \
Makefile \
src/Makefile \
src/ext/Makefile \
src/webkit/Makefile \
src/opengl/Makefile \
)