3df72165af
* NEW: The syntax of pkg-config detection macro has changed to better use the pkg-config possibilities. [DEVELOPMENT ENVIRONMENT] * BUG: Correctly update .startup file when closing the project property dialog. * BUG: Don't crash when the debugger stops inside the form generated code. * BUG: Update the project templates to the 3.0 syntax. [GB.QTE] * BUG: Make this component compile correctly. * BUG: Remove the automake warning. [GB.QT4] * NEW: Upgrade to the new QT 4 syntax in many places. * NEW: Menu class has been redesigned to use the new QAction class. Not tested yet. * NEW: Standard controls work better. git-svn-id: svn://localhost/gambas/trunk@1344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
dnl ---- configure.ac for gb.qt
|
|
|
|
AC_INIT(configure.ac)
|
|
GB_INIT(gb.qt)
|
|
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_FIND_QT_MOC
|
|
|
|
GB_COMPONENT_SEARCH(
|
|
qt,
|
|
QT,
|
|
[QT component],
|
|
[src],
|
|
qt-mt ">= 3.3",
|
|
[GB_FIND(qptrlist.h, /usr/local/lib /usr/local /opt /usr/lib /usr/X11 /usr/X11R6 /usr/pkg /usr, include qt*/include qt/*/include)],
|
|
[GB_FIND(libqt-mt.$SHLIBEXT, /usr/local /opt /usr/X11 /usr/X11R6 /usr/pkg /usr, lib qt*/lib qt/*/lib, libqt-mt.$SHLIBEXT.3)],
|
|
[$CXX_LIB $THREAD_LIB $X_LIBS -lqt-mt],
|
|
[$THREAD_INC])
|
|
|
|
GB_COMPONENT(
|
|
qtopengl,
|
|
QTOPENGL,
|
|
[QT OpenGL component],
|
|
[opengl],
|
|
[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])
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
src/ext/Makefile \
|
|
src/opengl/Makefile \
|
|
)
|