|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-21 06:31 UTC] sniper@php.net
[2000-11-23 06:25 UTC] p dot pastori at acsys dot it
[2000-11-28 06:05 UTC] sniper@php.net
[2000-11-29 05:06 UTC] p dot pastori at acsys dot it
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 23:00:01 2025 UTC |
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.