PHP 4.0 Bug #7725: configure fails to found system headers during `Running system checks' phase
| From: | p dot pastori at acsys dot it | Date: | Thu, 09 Nov 2000 15:08:46 +0000 |
| Subject: | PHP 4.0 Bug #7725: configure fails to found system headers during `Running system checks' phase | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37557@lists.php.net to get a copy of this message | ||
From: p.pastori@acsys.it
Operating system: IRIX 6.5 (6.5.8m)
PHP version: 4.0.3pl1
PHP Bug Type: *Install and Config
Bug description: configure fails to found system headers during `Running system checks' phase
Rightly you simply use the prepocessor during the check phase, instead of try to compile. Standard
autoconf macros AC_CHECK_HEADER and AC_CHECK_HEADERS would probably invoke the compiler. Anyway be
carefull to properly parse the prepocessor output before take any assumption, on my OS the
preprocessor simply prints `warning' lines which let you assume that i miss the
header under check.
I had to manually change the configure script at line 5499 to solve the problem but
you may do something better (i suppose).
Following there is the modified configure's line:
ac_err=
grep -v '^ *+' conftest.out | grep -v 'warning' | grep -v
"^conftest.${ac_ext}\$"
as you note i simply add a pipe into a `grep -v 'warning'' and now it's ok.
--
Edit Bug report at: http://bugs.php.net/?id=7725&edit=1