[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on S
From: |
suzuki toshiya |
Subject: |
Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64 |
Date: |
Thu, 03 May 2018 22:55:15 +0900 |
User-agent: |
Mozilla-Thunderbird 2.0.0.24 (X11/20100329) |
Dear Kanazawa-san,
No, no :-) I apologize if my question made you confused.
The source of configure script is in shell script syntax
or m4 macro syntax. "#if..." does not work, because autotool
does not use C preprocessor. More complicated tests are
needed (because autoconf lacks an utility macro to test
the predefined C preprocessor macro).
Regards,
mpsuzuki
Kiyoshi KANAZAWA wrote:
> Dear Suzuki san,
>
> Oh, it is my fault.
> It is has to be
> #if !defined(__SUNPRO_C)
> instead of
> #ifndef __SUNPRO_C
> ?
>
> Regards,
>
> --- Kiyoshi
>
>
> ----- 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
>
>
>
>
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, (continued)
- Message not available
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Message not available
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] *** GMX Spamverdacht *** Re: [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Werner LEMBERG, 2018/05/03
- Re: [ft-devel] *** GMX Spamverdacht *** Re: [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Alexei Podtelezhnikov, 2018/05/03
- Message not available
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Kiyoshi KANAZAWA, 2018/05/03
- Message not available
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Kiyoshi KANAZAWA, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64,
suzuki toshiya <=
Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Kiyoshi KANAZAWA, 2018/05/03
Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Alexei Podtelezhnikov, 2018/05/03
Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03