m4.include/mc-tests.m4: fix bash-isms.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2019-02-23 10:21:08 +03:00
parent 1db894f63c
commit 8388de9b50
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ AC_DEFUN([mc_UNIT_TESTS],[
dnl 'tests_msg' holds the human-readable message to show in configure's summary text.
if test x$enable_tests == xno; then
if test x"$enable_tests" = "xno"; then
dnl The user explicitly specified '--disable-tests'.
tests_msg="no"
else
@ -33,7 +33,7 @@ AC_DEFUN([mc_UNIT_TESTS],[
dnl The following behavior, of "exit if feature requested but not found", is just a
dnl preference and can be safely removed.
if test x$enable_tests == xyes; then
if test x"$enable_tests" = "xyes"; then
AC_MSG_ERROR([You explicitly specified '--enable-tests', but this requirement cannot be met.])
fi
])