Avoid bash-specific '==' comparison operator in guile.m4.
authorThomas Klausner <wiz@NetBSD.org>
Wed, 29 Oct 2014 23:33:39 +0000 (00:33 +0100)
committerMark H Weaver <mhw@netris.org>
Wed, 12 Nov 2014 03:43:51 +0000 (22:43 -0500)
Fixes <http://bugs.gnu.org/18898>.

* meta/guile.m4 (GUILE_PROGS): Use '=' instead of the bash-specific '=='
  comparison operator in 'test' call.

meta/guile.m4

index 441dcd4..dd3c212 100644 (file)
@@ -231,7 +231,7 @@ AC_DEFUN([GUILE_PROGS],
           AC_MSG_ERROR([Guile $_guile_required_version required, but $_guile_prog_version found])
         fi
       fi
-    elif test "$GUILE_EFFECTIVE_VERSION" == "$_major_version.$_minor_version" -a -z "$_micro_version"; then
+    elif test "$GUILE_EFFECTIVE_VERSION" = "$_major_version.$_minor_version" -a -z "$_micro_version"; then
       # Allow prereleases that have the right effective version.
       true
     else