GNOME Bugzilla – Bug 168998
funlockfile/flockfile/getc_unlocked problems on Solaris, Tru64 UNIX
Last modified: 2005-08-01 11:00:41 UTC
Version details: 2.4.11 Distribution/Version: 9/SPARC funlockfile, flockfile, and getc_unlocked are not handled correctly because they are not exposed for the vendor C++ compilers on Solaris and Tru64 UNIX.
Created attachment 38161 [details] [review] Patch to resolve issue regardless of OS, C++ compiler Fix by testing for functions _using_ C++ compiler and, if function is available but prototype is not, test for that as well.
Great. Committed. It's good to have this fixed properly. Please remember to patch the ChangeLog in future.
I just checked CVS And config.h.in has not been regenerated so the configure.in AC_DEFINE's aren't working.
What change would you expect i config.h.in? I don't think it's meant to be a generated file.
Huh? config.h.in is generated by autoheader. Anyway, if you want to maintain config.h.in manually, you need to add: #undef NEED_FLOCKFILE_PROTO #undef NEED_FUNLOCKFILE_PROTO #undef NEED_GETC_UNLOCKED_PROTO and rename GETC_UNLOCKED to HAVE_GETC_UNLOCKED. We just run autoheader.
Thanks. Done in cvs. I don't think autoheader is meant to be used as part of a build, just when first making the build files.