----- Original Message -----
From: suzuki toshiya
<address@hidden>
To: Kiyoshi KANAZAWA <address@hidden>
Cc: "address@hidden" <address@hidden>
Date: 2018/5/3, Thu 21:52
Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64
Dear Kanazawa-san,
BTW, I want to ask one of my question, just for curious.
suzuki toshiya wrote:
>> diff -ur ../freetype-2.9.1.orig/builds/unix/configure.raw ./builds/unix/configure.raw
>> --- ../freetype-2.9.1.orig/builds/unix/configure.raw 2018-05-01 19:35:09.000000000 +0000
>> +++ ./builds/unix/configure.raw
2018-05-03 17:27:54.383361566 +0000
>> @@ -313,7 +313,9 @@
>> #
>> AC_MSG_CHECKING([for -fvisibility=hidden compiler flag])
>> orig_CFLAGS="${CFLAGS}"
>> +#ifndef __SUNPRO_C
>> CFLAGS="${CFLAGS} -fvisibility=hidden"
>> +#endif
>> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
>> AC_MSG_RESULT(yes),
>> CFLAGS="${orig_CFLAGS}"
>
> Excuse me, these changes for autotools look quite different from the syntax of
> autoconf, it looks like C preprocessor. Have you ever resolved similar problem
> by such patch for autoconf files?
Regards,
mpsuzuki