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
This commit is contained in:
Koop Mast 2010-12-04 13:14:39 +00:00 committed by Tim-Philipp Müller
parent 66d2781877
commit d569bf420d

View file

@ -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)