mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
apply jan's configure check for apache2 and freebsd (relating to the use
of tsrm-pth).
This commit is contained in:
parent
255bbff361
commit
c89623d27f
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user