0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-08 21:18:57 +02:00

configure: Fix reported error generated circa line 18840.

This commit is contained in:
Jason Volk 2020-03-10 10:26:10 -07:00
parent 636fa86b68
commit 8d061be07f

View file

@ -205,6 +205,7 @@ AC_ARG_WITH(assert, AC_HELP_STRING([--with-assert[[[=trap]]]], [Soften assertion
], [
assert_type="abort"
AC_MSG_RESULT([no])
AC_SUBST(ASSERT_TYPE, $assert_type)
])
])
@ -214,7 +215,7 @@ AM_COND_IF(ASSERT,
RB_DEFINE_UNQUOTED([ASSERT], ["$assert_type"], [Assertion behavior])
fi
if [ "$assert_type" == "trap" ]; then
if [[ "$assert_type" == "trap" ]]; then
RB_DEFINE([ASSERT_INTRINSIC], [1], [Intrinsic assertion behavior])
fi
])