mirror of
https://github.com/php-win-ext/pecl-expect.git
synced 2026-03-23 20:52:07 +01:00
git-svn-id: https://svn.php.net/repository/pecl/expect/trunk@197342 c90b9560-bf6c-de11-be94-00142212c4b1
13 lines
387 B
JavaScript
13 lines
387 B
JavaScript
// $ Id: $
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH('expect' , 'expect support', 'no');
|
|
|
|
if (PHP_EXPECT != "no") {
|
|
if (CHECK_HEADER_ADD_INCLUDE("expect.h", "CFLAGS_EXPECT", PHP_EXPECT) && CHECK_LIB("expect.lib", "expect", PHP_EXPECT)) {
|
|
EXTENSION("expect", "expect.c", PHP_EXPECT_SHARED, null, "php_expect.dll");
|
|
} else {
|
|
WARNING("expect not enabled; libraries and headers not found");
|
|
}
|
|
}
|