Re: cvs: php4 / configure.in
| From: | Jon Parise | Date: | Sat, 02 Feb 2002 06:26:24 +0000 |
| Subject: | Re: cvs: php4 / configure.in | ||
| References: | 1 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-dev+get-78844@lists.php.net to get a copy of this message | ||
On Sat, Feb 02, 2002 at 06:21:59AM -0000, Jon Parise wrote:
> jon Sat Feb 2 01:21:59 2002 EDT
>
> Modified files:
> /php4 configure.in
> Log:
> Revert revision 1.294.
>
> This commit broke things in interesting ways under FreeBSD. By adding these
> default header files to every header check, a number of subsequent checks
> failed (due to unsatisfied header file dependencies). This occured because
> <netinet/in.h>, for example, requires <sys/types.h>. In other words, these
> default includes are not autonomous and don't make workable defaults.
This fixes the problem some people were seeing where the Zend
build would fail early on, saying that it couldn't find va_list.
This was a real bitch to track down based on that error. va_list
is defined by <stdarg.h>, which wasn't getting included in Zend
due to the HAVE_STDARG_H check. That wasn't getting defined
because the configure run was failing (under FreeBSD) for nearly
every header file check.
Anyway, FreeBSD builds are now working with the latest cvs code.
--
Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
http://www.csh.rit.edu/~jon/ : Computer Science House
Member