mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
make qtdom compile on Mandrake-cooker
This commit is contained in:
parent
00b8f898e7
commit
deae9549c8
@ -10,12 +10,23 @@ case "$withval" in
|
||||
no)
|
||||
AC_MSG_RESULT(no) ;;
|
||||
yes)
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_ADD_LIBRARY_WITH_PATH(qt, $QTDIR/lib)
|
||||
AC_ADD_INCLUDE($QTDIR/include)
|
||||
AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom])
|
||||
PHP_EXTENSION(qtdom, $ext_shared)
|
||||
PHP_REQUIRE_CXX
|
||||
if test -f $QTDIR/include/qdom.h; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_ADD_LIBRARY_WITH_PATH(qt, $QTDIR/lib)
|
||||
AC_ADD_INCLUDE($QTDIR/include)
|
||||
AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom])
|
||||
PHP_EXTENSION(qtdom, $ext_shared)
|
||||
PHP_REQUIRE_CXX
|
||||
elif test -f /usr/lib/qt2/include/qdom.h; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_ADD_LIBRARY(qt)
|
||||
AC_ADD_INCLUDE(/usr/lib/qt2/include)
|
||||
AC_DEFINE(HAVE_QTDOM, 1, [Wheter you have qtdom])
|
||||
PHP_EXTENSION(qtdom, $ext_shared)
|
||||
PHP_REQUIRE_CXX
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
],[
|
||||
|
Loading…
Reference in New Issue
Block a user