To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72150





------- Additional comments from [EMAIL PROTECTED] Sat Oct 20 16:44:32 +0000 
2007 -------
So, if you look at the config.log and search for the zlib.h test you'll see that
the preprocessor is run as 

  -I/sw/include conftest.cc

not as
cc -E -I/sw/include conftest.cc

so the question is why have we lost the preprocessor variable, looking backwards
from there I see most interestingly that where we have AC_LANG_RESTORE in e.g.
the end of the ODK test ac_cpp='$CXXCPP ...' is substituted by autoconf not
ac_cpp="$CPP like I would have expected, going backup the doc I suspect that one
of the problems is that of the test "$_os" = "SunOS"; then AC_LANG_CPLUSPLUS; fi

I suspect that the natural assumption that the AC_LANG_CPLUSPLUS only affects
SunOS is incorrect and that autoconf pushes and pops with LANG_SAVE and
LANG_RESTORE according to the position of AC_LANG_CPLUSPLUS in the configure.in
script and the if/fi has no affect on that. i.e. from that point onwards the
language is considered to be c++ so we are SAVING and RESTORING c++ not c like
we thing. And it just so happens that we don't test for CXXCPP on Darwin so the
c++ CXXCPP is never set. So on the very next LANG_RESTORE the ac_cpp value is
set to the c++ cpp and from that point on all preprocesser tests that think they
are using the C preprocesser are using the C++ one, and that's empty on darwin.

And it does so happens that the system stl test has a restore, and it's the
first one before the zlib etc tests, but anything that did the restore would
have triggered the problem if there is a test that uses the preprocessor 
afterwards.

I think we have multiple problems here, missing LANG_RESTORE in hunspell,
missing tests for CXXCPP on anything except Linux and BSD varients, and a
hangover from issue 445. I'll see if I can cook up something acceptable for all.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to