diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-09-25 08:00:58 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2015-09-26 15:36:15 +0200 |
commit | d9378e64499642e86989158f274372187314d5b2 (patch) | |
tree | 1dd11fe349c93809782208ff99252ae2d0ad58a3 /src | |
parent | f3d84d2b6f95ac68142a8f2dd757a83eddeb1abd (diff) | |
download | sssd-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
Diffstat (limited to 'src')
-rw-r--r-- | src/conf_macros.m4 | 2 | ||||
-rw-r--r-- | src/external/pac_responder.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
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])) |