diff options
author | David Lamparter <equinox@diac24.net> | 2020-01-16 20:23:23 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-01-17 13:53:59 +0100 |
commit | 9c1be10509882ded41279d327c144106a30c06b1 (patch) | |
tree | 2e09f5124f9779c21936a65c755cfb9b69e45a28 /m4 | |
parent | configure.ac: add --enable-clang-coverage (#5698) (diff) | |
download | frr-9c1be10509882ded41279d327c144106a30c06b1.tar.xz frr-9c1be10509882ded41279d327c144106a30c06b1.zip |
build: fix shell == mis-use
The "test" program uses =, not ==. A lot of shells accept == as an
extension, but not all do and it's technically out of spec.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_python.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_python.m4 b/m4/ax_python.m4 index 66338511a..69809184e 100644 --- a/m4/ax_python.m4 +++ b/m4/ax_python.m4 @@ -186,7 +186,7 @@ AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_MSG_RESULT([yes]) PYTHON_CFLAGS="`\"$pycfg\" --includes`" - if test x"${py_ver}" == x"3.8" || test x"{py_ver}" == x"3.9"; then + if test x"${py_ver}" = x"3.8" || test x"{py_ver}" = x"3.9"; then PYTHON_LIBS="`\"$pycfg\" --ldflags --embed`" else PYTHON_LIBS="`\"$pycfg\" --ldflags`" |