gambas-source-code/gb.qt.kde/configure.ac
Benoît Minisini ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00

38 lines
847 B
Text

dnl ---- configure.ac for gb.qt.kde
AC_INIT(configure.ac)
GB_INIT(gb.qt.kde)
AC_PROG_LIBTOOL
GB_CHECK_XWINDOW
GB_FIND_QT_MOC
GB_COMPONENT(
qt,
QT,
[QT component],
[src],
[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.so.3)],
[$CXX_LIB $THREAD_LIB $X_LIBS -lqt-mt],
[$THREAD_INC])
if test x"$have_qt" != "x"; then
GB_COMPONENT(
kde,
KDE,
[KDE 3.x component],
[src],
[GB_FIND(kapplication.h, `kde-config --prefix 2> /dev/null`, include)],
[GB_FIND(libkdecore.$SHLIBEXT, `kde-config --prefix 2> /dev/null`, lib)],
[-lkdecore -lkdeui -lDCOP -lkio])
fi
AC_OUTPUT( \
Makefile \
src/Makefile \
src/html/Makefile \
)