configure: make missing prototypes an error always

This commit is contained in:
Colin Walters 2011-10-21 11:27:40 -04:00
parent 5146890457
commit ad4ae3c0f1
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ if test "x$GCC" = "xyes"; then
*) CFLAGS="$CFLAGS -Wall" ;; *) CFLAGS="$CFLAGS -Wall" ;;
esac esac
case " $CFLAGS " in case " $CFLAGS " in
*[\ \ ]-Wmissing-prototypes[\ \ ]*) ;; *[\ \ ]-Werror=missing-prototypes[\ \ ]*) ;;
*) CFLAGS="$CFLAGS -Wmissing-prototypes" ;; *) CFLAGS="$CFLAGS -Werror=missing-prototypes" ;;
esac esac
fi fi
changequote([,])dnl changequote([,])dnl