blob: 059d7ca14c28f1c38fdbd5e7f92f67ded059406e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
dnl
dnl $Id$
dnl
AC_MSG_CHECKING(whether to include QDOM support)
AC_ARG_WITH(qtdom,
[ --with-qtdom Include QtDOM support (requires Qt >= 2.2.0).],
[
case $withval in
no)
AC_MSG_RESULT(no) ;;
yes)
if test -f $QTDIR/include/qdom.h; then
AC_MSG_RESULT(yes)
PHP_ADD_LIBRARY_WITH_PATH(qt, $QTDIR/lib)
PHP_ADD_INCLUDE($QTDIR/include)
AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom])
PHP_NEW_EXTENSION(qtdom, qtdom_qt.cpp, $ext_shared)
PHP_REQUIRE_CXX
elif test -f /usr/lib/qt2/include/qdom.h; then
AC_MSG_RESULT(yes)
PHP_ADD_LIBRARY(qt)
PHP_ADD_INCLUDE(/usr/lib/qt2/include)
AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom])
PHP_NEW_EXTENSION(qtdom, qtdom_qt.cpp, $ext_shared)
PHP_REQUIRE_CXX
else
AC_MSG_RESULT(no)
fi
;;
esac
],[
AC_MSG_RESULT(no)
])
|