diff options
| author | SVN Migration <svn@php.net> | 2003-06-14 13:35:10 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-06-14 13:35:10 +0000 |
| commit | 160cc590664788cbed10bd0ffabfd53aa9e8ac18 (patch) | |
| tree | 89e1e81b49c16bb6b1aef2531b6cd40f7e182142 /ext/hwapi/config.m4 | |
| parent | 74476dc1da1575f2f9748a29902f140316cb54dd (diff) | |
| download | php-git-160cc590664788cbed10bd0ffabfd53aa9e8ac18.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.3.2'.
Diffstat (limited to 'ext/hwapi/config.m4')
| -rw-r--r-- | ext/hwapi/config.m4 | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ext/hwapi/config.m4 b/ext/hwapi/config.m4 deleted file mode 100644 index af8069fd21..0000000000 --- a/ext/hwapi/config.m4 +++ /dev/null @@ -1,35 +0,0 @@ -dnl $Id$ - -PHP_ARG_WITH(hwapi, for hwapi support, -[ --with-hwapi[=DIR] Include official Hyperwave API support]) - -if test "$PHP_HWAPI" != "no"; then - if test -r $PHP_HWAPI/include/sdk/api/object.h; then - HWAPI_DIR=$PHP_HWAPI - else - AC_MSG_CHECKING(for HWAPI in default path) - for i in /usr/local /usr; do - if test -r $i/include/hwapi/sdk/api/object.h; then - HWAPI_DIR=$i - AC_MSG_RESULT(found in $i) - fi - done - fi - - if test -z "$HWAPI_DIR"; then - AC_MSG_RESULT(not found) - AC_MSG_ERROR(Please install the hwapi >= 1.0.0 distribution) - fi - - PHP_ADD_INCLUDE($HWAPI_DIR/include/hwapi) - PHP_SUBST(HWAPI_SHARED_LIBADD) - PHP_ADD_LIBRARY_WITH_PATH(hwapi, $HWAPI_DIR/lib, HWAPI_SHARED_LIBADD) - AC_DEFINE(HAVE_HWAPI,1,[ ]) - - PHP_REQUIRE_CXX - PHP_NEW_EXTENSION(hwapi, hwapi.cpp, $ext_shared) - PHP_ADD_LIBRARY(hwapi) - PHP_ADD_LIBRARY(pthread) - PHP_ADD_LIBRARY(stdc++) - PHP_ADD_INCLUDE($HWAPI_DIR/include) -fi |
