mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
configure: fix builtin detection w/-Werror
and other warnings enabled (-Wunused-value) Change-Id: Ic0080d559366a5254d0fa3ba939150445157087f
This commit is contained in:
parent
3661b98069
commit
b74657fb2e
@ -221,7 +221,7 @@ dnl === AC_DEFINE'ing <define> if successful.
|
|||||||
AC_DEFUN([CHECK_FOR_BUILTIN],
|
AC_DEFUN([CHECK_FOR_BUILTIN],
|
||||||
[AC_LANG_PUSH([C])
|
[AC_LANG_PUSH([C])
|
||||||
AC_MSG_CHECKING([for $1])
|
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_MSG_RESULT([yes])
|
||||||
AC_DEFINE([$3], [1],
|
AC_DEFINE([$3], [1],
|
||||||
[Set to 1 if $1 is available])],
|
[Set to 1 if $1 is available])],
|
||||||
|
Loading…
Reference in New Issue
Block a user