summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2001-04-17 17:01:33 +0000
committerWez Furlong <wez@php.net>2001-04-17 17:01:33 +0000
commit2a26be63a0c75a4ba95cbfcbfa98b0420e44d7c2 (patch)
tree895c459c06bdd759ee7860d3a05501653744627f /configure.in
parent1078e61c74afa93c6f17e21705549d01429684b8 (diff)
downloadphp-git-2a26be63a0c75a4ba95cbfcbfa98b0420e44d7c2.tar.gz
Added --enable-php-streams option for experimental file abstraction
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ca31b0897d..dbeb66d41b 100644
--- a/configure.in
+++ b/configure.in
@@ -599,6 +599,14 @@ if test "$PHP_PEAR" = "yes"; then
PEAR_DIR=pear
fi
+# temporary until streams are better integrated
+PHP_ARG_ENABLE(php-streams,whether to enable php streams,
+[ --enable-php-streams Include experimental php streams.
+ Do not use unless you are testing the code!])
+
+if test "$PHP_PHP_STREAMS" = "yes"; then
+ AC_DEFINE(HAVE_PHP_STREAM, 1, [Whether to use php streams])
+fi
divert(5)