use AC_TRY_LINK to avoid warning