mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
m4.include/mc-tests.m4: fix bash-isms.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
1db894f63c
commit
8388de9b50
@ -16,7 +16,7 @@ AC_DEFUN([mc_UNIT_TESTS],[
|
|||||||
|
|
||||||
dnl 'tests_msg' holds the human-readable message to show in configure's summary text.
|
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'.
|
dnl The user explicitly specified '--disable-tests'.
|
||||||
tests_msg="no"
|
tests_msg="no"
|
||||||
else
|
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 The following behavior, of "exit if feature requested but not found", is just a
|
||||||
dnl preference and can be safely removed.
|
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.])
|
AC_MSG_ERROR([You explicitly specified '--enable-tests', but this requirement cannot be met.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user