From d569bf420d5f915c6a3901b193b69757991f4da8 Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Sat, 4 Dec 2010 13:14:39 +0000 Subject: [PATCH] configure: fix test so it works with FreeBSD's /bin/sh Use '=' instead of '=='. Fixes: configure: working c++ compiler found: yes test: xyes: unexpected operator http://bugzilla-attachments.gnome.org/attachment.cgi?id=175692 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7a1d69f5c6..7d0dd5ce8a 100644 --- a/configure.ac +++ b/configure.ac @@ -236,7 +236,7 @@ AC_LANG_PUSH([C++]) AC_TRY_COMPILE([ class Foo { int bar; };], , working_cxx=yes, working_cxx=no) AC_LANG_POP([C++]) AC_MSG_NOTICE([working c++ compiler found: $working_cxx]) -AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" == "xyes") +AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes") dnl Perl is used in building documentation and in the version checks AC_PATH_PROG(PERL_PATH, perl, no)