Re: [ft-devel] [PATCH] Further fix to visibility flag testing with Solaris Studio compilers

2018-05-10 Thread Werner LEMBERG
> AC_COMPILE_IFELSE only tries to compile a *.c to a *.o. [...] Thanks a lot! I've committed this (with very minor changes). Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org

Re: [ft-devel] [PATCH] Further fix to visibility flag testing with Solaris Studio compilers

2018-05-06 Thread Alan Coopersmith
On 05/ 6/18 10:24 AM, Alexei Podtelezhnikov wrote: >> AC_LINK_IFELSE does the compile and then tries to link the result... >> Signed-off-by: Alan Coopersmith > > Thank you, Alan. Wouldn't you want libtool to do it for you? There is > also IBM's -qvisibility and HP's

Re: [ft-devel] [PATCH] Further fix to visibility flag testing with Solaris Studio compilers

2018-05-06 Thread Alexei Podtelezhnikov
> AC_LINK_IFELSE does the compile and then tries to link the result... > Signed-off-by: Alan Coopersmith Thank you, Alan. Wouldn't you want libtool to do it for you? There is also IBM's -qvisibility and HP's -Bhidden. Most others define do -fvisibility and define

[ft-devel] [PATCH] Further fix to visibility flag testing with Solaris Studio compilers

2018-05-05 Thread Alan Coopersmith
AC_COMPILE_IFELSE only tries to compile a *.c to a *.o. The Solaris Studio 12.1 through 12.5 compilers see the -fvisibility=hidden flag, but ignore it with a warning of: cc: Warning: Option -fvisibility=hidden passed to ld, if ld is invoked, ignored otherwise AC_LINK_IFELSE does the compile