diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-05-21 08:29:40 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-21 08:31:56 -0400 |
commit | c8b9cf339e84576293113df914498a80ec1989dc (patch) | |
tree | fcd81a0e06a08cfe3ea1abfa95925730bb589fed | |
parent | 19ce0003e32cde587e2e2115f431e86e0c9adf76 (diff) | |
download | sssd-c8b9cf339e84576293113df914498a80ec1989dc.tar.gz sssd-c8b9cf339e84576293113df914498a80ec1989dc.tar.xz sssd-c8b9cf339e84576293113df914498a80ec1989dc.zip |
Remove bash-isms from configure macros
-rw-r--r-- | src/conf_macros.m4 | 10 | ||||
-rw-r--r-- | src/external/krb5.m4 | 2 | ||||
-rw-r--r-- | src/external/platform.m4 | 16 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index 4630f3156..65de7fbdb 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -123,7 +123,7 @@ AC_DEFUN([WITH_MANPAGES], [], with_manpages=yes ) - if test x"$with_manpages" == xyes; then + if test x"$with_manpages" = xyes; then HAVE_MANPAGES=1 AC_SUBST(HAVE_MANPAGES) fi @@ -167,7 +167,7 @@ AC_DEFUN([WITH_PYTHON_BINDINGS], [], with_python_bindings=yes ) - if test x"$with_python_bindings" == xyes; then + if test x"$with_python_bindings" = xyes; then HAVE_PYTHON_BINDINGS=1 AC_SUBST(HAVE_PYTHON_BINDINGS) fi @@ -183,7 +183,7 @@ AC_DEFUN([WITH_SELINUX], [], with_selinux=yes ) - if test x"$with_selinux" == xyes; then + if test x"$with_selinux" = xyes; then HAVE_SELINUX=1 AC_SUBST(HAVE_SELINUX) AC_DEFINE_UNQUOTED(HAVE_SELINUX, 1, [Build with SELinux support]) @@ -212,7 +212,7 @@ AC_DEFUN([WITH_NSCD], [], with_nscd=yes ) - if test x"$with_nscd" == xyes; then + if test x"$with_nscd" = xyes; then AC_DEFINE_UNQUOTED(HAVE_NSCD, 1, [flush nscd cache after local domain operations]) fi ]) @@ -226,7 +226,7 @@ AC_DEFUN([WITH_SEMANAGE], [], with_semanage=yes ) - if test x"$with_semanage" == xyes; then + if test x"$with_semanage" = xyes; then HAVE_SEMANAGE=1 AC_SUBST(HAVE_SEMANAGE) AC_DEFINE_UNQUOTED(HAVE_SEMANAGE, 1, [Build with SELinux support]) diff --git a/src/external/krb5.m4 b/src/external/krb5.m4 index 84bb44174..39c2cdfd3 100644 --- a/src/external/krb5.m4 +++ b/src/external/krb5.m4 @@ -58,5 +58,5 @@ AC_CHECK_HEADER([krb5/locate_plugin.h], [have_locate_plugin=no] [AC_MSG_NOTICE([Kerberos locator plugin cannot be build])]) AM_CONDITIONAL([BUILD_KRB5_LOCATOR_PLUGIN], - [test x$have_locate_plugin == xyes -a x$build_locator == xyes]) + [test x$have_locate_plugin = xyes -a x$build_locator = xyes]) diff --git a/src/external/platform.m4 b/src/external/platform.m4 index b7899b4b4..0bc221a2f 100644 --- a/src/external/platform.m4 +++ b/src/external/platform.m4 @@ -3,10 +3,10 @@ AC_ARG_WITH([os], ) osname="" if test x"$with_os" != x ; then - if test x"$with_os" == xfedora -o \ - x"$with_os" == xredhat -o \ - x"$with_os" == xsuse -o \ - x"$with_os" == xdebian ; then + if test x"$with_os" = xfedora || \ + test x"$with_os" = xredhat || \ + test x"$with_os" = xsuse || \ + test x"$with_os" = xdebian ; then osname=$with_os else AC_MSG_ERROR([Illegal value -$with_os- for option --with-os]) @@ -27,10 +27,10 @@ if test x"$osname" = x ; then AC_MSG_NOTICE([Detected operating system type: $osname]) fi -AM_CONDITIONAL([HAVE_FEDORA], [test x"$osname" == xfedora]) -AM_CONDITIONAL([HAVE_REDHAT], [test x"$osname" == xredhat]) -AM_CONDITIONAL([HAVE_SUSE], [test x"$osname" == xsuse]) -AM_CONDITIONAL([HAVE_DEBIAN], [test x"$osname" == xdebian]) +AM_CONDITIONAL([HAVE_FEDORA], [test x"$osname" = xfedora]) +AM_CONDITIONAL([HAVE_REDHAT], [test x"$osname" = xredhat]) +AM_CONDITIONAL([HAVE_SUSE], [test x"$osname" = xsuse]) +AM_CONDITIONAL([HAVE_DEBIAN], [test x"$osname" = xdebian]) AC_CHECK_MEMBERS([struct ucred.pid, struct ucred.uid, struct ucred.gid], , , [[#define _GNU_SOURCE |