mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
Fix for Bug #18873
This commit is contained in:
parent
b025bb1023
commit
e9dcdd12aa
@ -15,14 +15,14 @@ case $withval in
|
||||
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_NEW_EXTENSION(qtdom, qtdom.c 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_NEW_EXTENSION(qtdom, qtdom.c qtdom_qt.cpp, $ext_shared)
|
||||
PHP_REQUIRE_CXX
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
|
Loading…
Reference in New Issue
Block a user