From e6a6225b882c4c58a0ba7e333bda5cd6abf0c19a Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 27 Jun 2015 14:23:48 +0900 Subject: Fix bash-izm of '==' operator usage for test(1) --- m4/python.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/python.m4 b/m4/python.m4 index deb3269..dc2e750 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -34,7 +34,7 @@ AC_MSG_CHECKING(for python libraries) dnl Check whether python was compiled as shared library link_pymodules_libpython=false; py_enable_shared=`$PYTHON -c "from distutils.sysconfig import get_config_var; print repr(get_config_var('Py_ENABLE_SHARED'))"` -if test $py_enable_shared == 1 ; then +if test $py_enable_shared = 1 ; then if test x`uname -s` != xDarwin; then PYTHON_LDFLAGS="-no-undefined" link_pymodules_libpython=true; -- cgit v1.2.1