From: Sterling Hughes Date: Sun, 7 Apr 2002 16:16:47 +0000 (+0000) Subject: apply jan's configure check for apache2 and freebsd (relating to the use X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~822 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c89623d27f7fb32f83b66e0851251cc73b787cd9;p=php apply jan's configure check for apache2 and freebsd (relating to the use of tsrm-pth). --- diff --git a/configure.in b/configure.in index 4cf9a58764..30e5133461 100644 --- a/configure.in +++ b/configure.in @@ -1170,6 +1170,15 @@ dnl else dnl rm -f main/internal_functions.c.old dnl fi + if test $UNAME = "FreeBSD" && test $PHP_SAPI = "apache2filter" && test $TSRM_PTH != "pth-config" ; then + echo "+--------------------------------------------------------------------+" + echo "| *** WARNING *** |" + echo "| |" + echo "| In order to build PHP as a Apache2 module on FreeBSD, you have to |" + echo "| add --with-tsrm-pth to your ./configure line. Therefore you need |" + echo "| to install gnu-pth from /usr/ports/devel/pth. |" + fi + if test -n "$PHP_APXS_BROKEN"; then echo "+--------------------------------------------------------------------+" echo "| WARNING: Your $APXS script is most likely broken."