configure: make missing prototypes an error always
This commit is contained in:
1 parent
5146890457
commit
ad4ae3c0f1
1 file changed
+2
-2
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user