cvs: php4 / configure.in
| From: | Sterling Hughes | Date: | Sun, 07 Apr 2002 16:16:48 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10942@lists.php.net to get a copy of this message | ||
sterling Sun Apr 7 12:16:48 2002 EDT
Modified files:
/php4 configure.in
Log:
apply jan's configure check for apache2 and freebsd (relating to the use
of tsrm-pth).
Index: php4/configure.in
diff -u php4/configure.in:1.334 php4/configure.in:1.335
--- php4/configure.in:1.334 Sat Apr 6 08:42:39 2002
+++ php4/configure.in Sun Apr 7 12:16:47 2002
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.334 2002/04/06 13:42:39 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.335 2002/04/07 16:16:47 sterling Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -1169,6 +1169,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 "+--------------------------------------------------------------------+"