aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2018-04-04 17:45:05 +0200
committerDuncaen <mail@duncano.de>2018-04-04 17:45:05 +0200
commit968fd717c3a4b668b3d3f61e827d61e083d9e3f3 (patch)
tree643b11d033bdc9c55b4e7da00a6ed56531b55832
parentf70c07389a004bd102f3bf1578018c834b2c10ef (diff)
downloadlobase-968fd717c3a4b668b3d3f61e827d61e083d9e3f3.tar.gz
configure: use POSIX shell compatible test operators
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b149005..e890b91 100755
--- a/configure
+++ b/configure
@@ -3423,7 +3423,7 @@ rm -f conftest.l $LEX_OUTPUT_ROOT.c
fi
-if test "x$LEX" == "x" || test "x$LEX" == "x:"; then
+if test "x$LEX" = "x" || test "x$LEX" = "x:"; then
as_fn_error $? "lex is required, but was not found" "$LINENO" 5
fi
diff --git a/configure.ac b/configure.ac
index 94b2a3d..1159ba4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,7 @@ AC_PROG_INSTALL
AC_PROG_YACC
AC_PROG_LEX
-if test "x$LEX" == "x" || test "x$LEX" == "x:"; then
+if test "x$LEX" = "x" || test "x$LEX" = "x:"; then
AC_MSG_ERROR([lex is required, but was not found])
fi