|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12871 updating build-system to autoconf 2.5x
Submitted: 2001-08-21 06:32 UTC Modified: 2001-08-21 07:46 UTC
From: jan at kneschke dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2001-08-21 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jan at kneschke dot de
New email:
PHP Version: OS:


 [2001-08-21 06:32 UTC] jan at kneschke dot de
After updating autoconf to 2.52 I've noticed that php is 
working with this autoconf version yet.

Even 'autoupdate' didn't helped to fix it.

I've taken a look at the generated shell code and noticed 
that some 'if-then-else' had an empty else-tree (else fi) 
which caused several unexpected shell exits. 
  These empty else-trees were the result of the following 
 [php_no_nsl_checks=yes],[ ])

That [ ] is the problem. If it is replaced by [] the else 
tree won't be build.

This applies to nearly all macros. The only exception is 
AC_DEFINE which requires a [ ] as third parameter if it is 
set at all.

Another issue was the PHP_SUBST in the acinclude.m4. I 
don't know what the five PHP_SUBST are doing there, but 
they will have to go into the the satisfy 

(acinclude.m4:930 [somewhere there])


I've uploaded the corresponding patch to

The patch is just a proof of concepts and doesn't fix 
every glitches, but it provides an working example.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-21 07:43 UTC]
These changes seem to have been committed.

 [2001-08-21 07:46 UTC]
Thanks for your comments. We've addressed various issues concerning portability between autoconf-2.13 and the revamped 2.5x tree. The checked-in changes should work on both major autoconf-branches.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 22 23:03:39 2021 UTC