summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-01-24 12:55:08 +0000
committerSascha Schumann <sas@php.net>2002-01-24 12:55:08 +0000
commitc0b8ac114280275d002b931a4284e95c5b3438d0 (patch)
tree80ec7e151786bd2241215f3e009d73b7ea59592d /acinclude.m4
parent8bbe180991299bb70a615165e71bb78bbf3ae155 (diff)
downloadphp-git-c0b8ac114280275d002b931a4284e95c5b3438d0.tar.gz
Don't build CLI, if an extension requests that.
In this case, the ircg extension refers to thttpd-specific symbols which causes the build of the cli sapi module to fail.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index fedcddf92a..40575afddc 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -5,6 +5,13 @@ dnl This file contains local autoconf functions.
sinclude(dynlib.m4)
dnl
+dnl Disable building CLI
+dnl
+AC_DEFUN(PHP_DISABLE_CLI,[
+ disable_cli=1
+])
+
+dnl
dnl Separator into the configure --help display.
dnl
AC_DEFUN(PHP_HELP_SEPARATOR,[