]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 2edabc86d6e1deb28a3df7edbb668d0a12c73c8b..a30b0c209bf138429d8ef823c07712533952a9f5 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