ID: 50291 Updated by: ras...@php.net Reported By: vapier at gentoo dot org -Status: Open +Status: Closed Bug Type: *Compile Issues Operating System: Linux PHP Version: 5.3.1 New Comment:
Thanks, this motivated me to clean up our m4 crap and make it work with the latest versions of autoconf. Should still clean up the template warnings eventually, but those are non-fatal and everything builds nicely now with autoconf-2.65 for me. Previous Comments: ------------------------------------------------------------------------ [2009-11-25 00:01:36] vapier at gentoo dot org Description: ------------ autoconf-2.64+ has changed behavior with diversions in such a way that php breaks. the autoconf documentation has explained that using these functions with any diversion not explicitly documented is subject to breakage, and php is doing just that. http://www.gnu.org/software/autoconf/manual/autoconf.html#Diversion-support you can also review the discussion on the autoconf lists: http://lists.gnu.org/archive/html/bug-autoconf/2009-11/msg00045.html Reproduce code: --------------- the code can either be changed to stop using divert() completely (since it doesnt seem to accomplish anything), or increase the numbers used to something higher than 1000. Actual result: -------------- after regenerating autotools, we see: $ ./configure cat: confdefs.h: No such file or directory ./configure: line 410: ac_fn_c_try_run: command not found ./configure: line 426: 5: Bad file descriptor ./configure: line 427: 6: Bad file descriptor cat: confdefs.h: No such file or directory ./configure: line 466: ac_fn_c_try_run: command not found cat: confdefs.h: No such file or directory ........ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50291&edit=1