Skip to content

Commit e4c6aa1

Browse files
nilasonstrk
authored andcommitted
Honor '--without-cunit' configure flag
1 parent b6f7b13 commit e4c6aa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ if test "x$CUNITDIR" != "x"; then
138138
CPPFLAGS="${CPPFLAGS_SAVE}"
139139
fi
140140

141-
if test "$FOUND_CUNIT" = "YES"; then
141+
if test "$FOUND_CUNIT" = "YES" && test x${with_cunit} != "xno"; then
142142
AC_DEFINE([HAVE_CUNIT], [1], [Have CUnit])
143143
CUNIT_STATUS="enabled"
144144
if test $CUNITDIR; then

0 commit comments

Comments
 (0)