From: Dave Reisner Date: Thu, 25 Dec 2014 16:41:06 +0000 (-0500) Subject: configure.ac: keep posix compat for string tests X-Git-Tag: v219~819 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=0a7f0fcc79772d257e0c42358ad472a37a8ab151;hp=b7a4d8de9273fab20e1e32e4846b6a866884e07a configure.ac: keep posix compat for string tests '==' and '=' are equivalent in /bin/bash, but POSIX compliant shells do not understand '==.' --- diff --git a/configure.ac b/configure.ac index 2348dac6e..1df3a18d5 100644 --- a/configure.ac +++ b/configure.ac @@ -566,7 +566,7 @@ AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" = "yes"]) # ------------------------------------------------------------------------------ have_lz4=no AC_ARG_ENABLE(lz4, AS_HELP_STRING([--enable-lz4], [Enable optional LZ4 support])) -AS_IF([test "x$enable_lz4" == "xyes"], [ +AS_IF([test "x$enable_lz4" = "xyes"], [ AC_CHECK_HEADERS(lz4.h, [AC_DEFINE(HAVE_LZ4, 1, [Define in LZ4 is available]) have_lz4=yes], [AC_MSG_ERROR([*** LZ4 support requested but headers not found])])