summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-04-10 15:09:04 +1200
committerRobert Ancell <robert.ancell@canonical.com>2018-04-10 15:09:04 +1200
commit80e5eea72bb920e918d5184ded3c9b79638192fc (patch)
tree9f875a30ff22b7b3e9bb05a7c093e2b27b0f0b2f
parent733d1758adc0003ebbdce31e6c6bb58b86816cbb (diff)
downloadlightdm-git-80e5eea72bb920e918d5184ded3c9b79638192fc.tar.gz
Remove bashisms in configure.ac.
As found by Frédéric Fauberteau for NetBSD
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 61a9e4d9..9fb1f8c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,12 +15,12 @@ AC_PROG_MKDIR_P
AM_MAINTAINER_MODE
dnl Check if the compiler really supports `-std=c99`.
-if test "x$ac_cv_prog_cc_c99" == xno; then
+if test "x$ac_cv_prog_cc_c99" = xno; then
AC_MSG_ERROR([$CC does not support '-std=c99'.])
fi
dnl Enable compile warnings (only supporting GCC)
-if test "x$GCC" == xyes; then
+if test "x$GCC" = xyes; then
WARN_CFLAGS="-Wall \
-Wstrict-prototypes \
-Wnested-externs \