configure: Fail on missing prototypes in check_oc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Thilo Borgmann 2014-04-09 11:18:14 +02:00 committed by Michael Niedermayer
parent 44841528c1
commit c740e083bc

2
configure vendored
View File

@ -807,7 +807,7 @@ check_oc(){
log check_oc "$@"
cat > $TMPM
log_file $TMPM
check_cmd $cc $CPPFLAGS $CFLAGS "$@" $CC_C $(cc_o $TMPO) $TMPM
check_cmd $cc -Werror=missing-prototypes $CPPFLAGS $CFLAGS "$@" $CC_C $(cc_o $TMPO) $TMPM
}
check_cpp(){