build: Error out of configure if wflags.py fails

Fixes #3624
parent 62a25a97
......@@ -719,6 +719,9 @@ AX_CHECK_COMPILE_FLAG([-Werror=unused-result],
# This corresponds to FreeBSD's WARNS level 6
DEVELOPER_CFLAGS=`$PYTHON $srcdir/wflags.py`
if test $? -ne 0 ; then
AC_MSG_ERROR([wflags.py failure])
fi
# --enable-stack-protector
AC_ARG_ENABLE(stack-protector,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment