]> granicus.if.org Git - php/commitdiff
Added --enable-php-streams option for experimental file abstraction
authorWez Furlong <wez@php.net>
Tue, 17 Apr 2001 17:01:33 +0000 (17:01 +0000)
committerWez Furlong <wez@php.net>
Tue, 17 Apr 2001 17:01:33 +0000 (17:01 +0000)
configure.in

index ca31b0897df3b3ebe30fa6d02efad0ab60556dfa..dbeb66d41b524384091ad00dce615c902437929c 100644 (file)
@@ -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)