mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-24 09:49:48 +02:00
Merge "configure: fix builtin detection w/-Werror"
This commit is contained in:
@ -221,7 +221,7 @@ dnl === AC_DEFINE'ing <define> if successful.
|
||||
AC_DEFUN([CHECK_FOR_BUILTIN],
|
||||
[AC_LANG_PUSH([C])
|
||||
AC_MSG_CHECKING([for $1])
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [$1($2)])],
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([], [(void)$1($2)])],
|
||||
[AC_MSG_RESULT([yes])
|
||||
AC_DEFINE([$3], [1],
|
||||
[Set to 1 if $1 is available])],
|
||||
|
Reference in New Issue
Block a user