[RFC]: make IcedTea-web to be compatible with RHEL5 libraries
Omair Majid
omajid at redhat.com
Tue Aug 23 06:12:47 PDT 2011
On 08/23/2011 07:33 AM, Jiri Vanek wrote:
> The docmentation says "since 2.16" but it can not be true, as rhel5 have
> 2.5 and have missing those functions, and rhel 6 have 2.12.5 and my F13
> have 2.12 and both HAVE those functions .... :-/ But it is not firs time
> glibc documentation was wrong.
>
> I still think compilation is much more bulet-proof, but if you are ok
> with this then I will post updated patch.
>
If version-detection is not reliable, and compilation is more
bullet-proof, then why not make use of AC_TRY_LINK/AC_TRY_LINK_FUNC [1]?
It checks for functions (rather than versions) explicitly, uses
compilation and is portable.
Cheers,
Omair
[1]
http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_6.html#SEC69
More information about the distro-pkg-dev
mailing list