forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autoconf configure script for qt dom, needs some more checking in the…
… future.
- Loading branch information
Jan Borsodi
committed
Nov 15, 2000
1 parent
14350f9
commit 471bcfc
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
dnl $Id$ | ||
dnl config.m4 for extension qtdom | ||
dnl don't forget to call PHP_EXTENSION(qtdom) | ||
|
||
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) | ||
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 | ||
;; | ||
esac | ||
],[ | ||
AC_MSG_RESULT(no) | ||
]) |