summaryrefslogtreecommitdiffstats
path: root/src/external/platform.m4
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-05-21 08:29:40 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-05-21 08:31:56 -0400
commitc8b9cf339e84576293113df914498a80ec1989dc (patch)
treefcd81a0e06a08cfe3ea1abfa95925730bb589fed /src/external/platform.m4
parent19ce0003e32cde587e2e2115f431e86e0c9adf76 (diff)
downloadsssd_unused-c8b9cf339e84576293113df914498a80ec1989dc.tar.gz
sssd_unused-c8b9cf339e84576293113df914498a80ec1989dc.tar.xz
sssd_unused-c8b9cf339e84576293113df914498a80ec1989dc.zip
Remove bash-isms from configure macros
Diffstat (limited to 'src/external/platform.m4')
-rw-r--r--src/external/platform.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/src/external/platform.m4 b/src/external/platform.m4
index b7899b4b..0bc221a2 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