From: Yi Zhao Date: Mon, 17 Jun 2019 07:36:34 +0000 (+0800) Subject: configure.ac: fix configure error with dash X-Git-Tag: 4.8~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F167%2Fhead;p=thirdparty%2Fshadow.git configure.ac: fix configure error with dash A configure error occurs when /bin/sh -> dash: checking for is_selinux_enabled in -lselinux... yes checking for semanage_connect in -lsemanage... yes configure: 16322: test: yesyes: unexpected operator Use "=" instead of "==" since dash doesn't support this operator. Signed-off-by: Yi Zhao --- diff --git a/configure.ac b/configure.ac index 676255644..1907afbd8 100644 --- a/configure.ac +++ b/configure.ac @@ -500,7 +500,7 @@ if test "$with_selinux" != "no"; then AC_MSG_ERROR([libsemanage not found]) fi - if test "$selinux_lib$semanage_lib" == "yesyes" ; then + if test "$selinux_lib$semanage_lib" = "yesyes" ; then AC_DEFINE(WITH_SELINUX, 1, [Build shadow with SELinux support]) LIBSELINUX="-lselinux"