build: Avoid bashism in configure.ac.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 14 Sep 2015 18:14:25 +0000 (20:14 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 15 Sep 2015 02:51:00 +0000 (04:51 +0200)
'==' is not portable. In fact, NetBSD's /bin/sh complains about
this. The fix is trivial.

configure.ac

index 2edabc8..a30b0c2 100644 (file)
@@ -53,7 +53,7 @@ AC_DEFUN([UNSTASH_FLAGS], [
        LIBS="$OLD_LIBS"
 ])
 AC_DEFUN([LIB_SUBST_FLAGS], [
-       if test "$HAVE_[]m4_toupper([$1])" == 'yes'; then
+       if test "$HAVE_[]m4_toupper([$1])" = 'yes'; then
                AC_DEFINE(HAVE_[]m4_toupper([$1]), 1,
                        define to 1 to turn on $1 support)
        else