summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-01-16 20:23:23 +0100
committerDavid Lamparter <equinox@diac24.net>2020-01-17 13:53:59 +0100
commit9c1be10509882ded41279d327c144106a30c06b1 (patch)
tree2e09f5124f9779c21936a65c755cfb9b69e45a28 /configure.ac
parentconfigure.ac: add --enable-clang-coverage (#5698) (diff)
downloadfrr-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 'configure.ac')
-rwxr-xr-xconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4158fdec3..1e79c3c2e 100755
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ build_clippy="true"
dnl case 1: external clippy
if test -n "$with_clippy" -a "$with_clippy" != "no" -a "$with_clippy" != "yes"; then
- if test "$enable_clippy_only" == "yes"; then
+ if test "$enable_clippy_only" = "yes"; then
AC_MSG_ERROR([--enable-clippy-only does not make sense with --with-clippy])
fi