On Mon, Jul 15, 2013 at 8:42 AM, Raimund Steger <rs@xxxxxxxx> wrote: > Wouldn't AC_LINK_IFELSE fail at the linker stage even without -Werror if > there was a problem with the declaration of posix_fadvise? Or was there > some other problem? There are two purposes to check: 1) if a symbol is really available 2) if the feature test macros and arguments satisfies certain conditions. AC_LINK_IFELSE meets 1) but not 2) without -Werror. Let me find out another portable way... Thanks, -- Akira TAGOH _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig