summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-09-25 08:00:58 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2015-09-26 15:36:15 +0200
commitd9378e64499642e86989158f274372187314d5b2 (patch)
tree1dd11fe349c93809782208ff99252ae2d0ad58a3
parentf3d84d2b6f95ac68142a8f2dd757a83eddeb1abd (diff)
downloadsssd-d9378e64499642e86989158f274372187314d5b2.tar.gz
sssd-d9378e64499642e86989158f274372187314d5b2.tar.xz
sssd-d9378e64499642e86989158f274372187314d5b2.zip
CONFIGURE: Remove bashism
There were errors in configure script when /bin/sh was not bash ./configure: 15889: test: xfedora: unexpected operator ./configure: 19981: test: xyes: unexpected operator ./configure: 23103: test: x1: unexpected operator The equality operator "==" works in bash but it's not a standard. The man page test(1) also does not mention it. There is only short version "=" STRING1 = STRING2 the strings are equal
-rw-r--r--configure.ac2
-rw-r--r--src/conf_macros.m42
-rw-r--r--src/external/pac_responder.m42
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 291deee1e..c6debe20a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,7 +235,7 @@ if test x$HAVE_MANPAGES != x; then
[HAVE_PROFILE_CATALOGS=1],
[AC_MSG_WARN([Man pages might contain documentation for experimental features])])
- if test x$HAVE_PROFILE_CATALOGS == x; then
+ if test x$HAVE_PROFILE_CATALOGS = x; then
DOCBOOK_XSLT=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
CHECK_STYLESHEET([$SGML_CATALOG_FILES],
[$DOCBOOK_XSLT],
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index cd731e605..619d27ccf 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -182,7 +182,7 @@ AC_DEFUN([WITH_INIT_DIR],
]
)
initdir="${sysconfdir}/rc.d/init.d"
- if test x$osname == xgentoo; then
+ if test x$osname = xgentoo; then
initdir="${sysconfdir}/init.d"
fi
if test x"$with_init_dir" != x; then
diff --git a/src/external/pac_responder.m4 b/src/external/pac_responder.m4
index b57305c1d..2941d63ab 100644
--- a/src/external/pac_responder.m4
+++ b/src/external/pac_responder.m4
@@ -9,7 +9,7 @@ AC_ARG_ENABLE([pac-responder],
ndr_krb5pac_ok=no
krb5_version_ok=no
-if test x$build_pac_responder == xyes
+if test x$build_pac_responder = xyes
then
PKG_CHECK_MODULES(NDR_KRB5PAC, ndr_krb5pac, ndr_krb5pac_ok=yes,
AC_MSG_WARN([Cannot build pac responder without libndr_krb5pac]))