Compare using = instead of ==, which is portable. (#490787, Thomas

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * configure.in: Compare using = instead of ==, which is portable.
    (#490787, Thomas Klausner)


svn path=/trunk/; revision=19689
This commit is contained in:
Johan Dahlin 2008-03-02 18:08:50 +00:00 committed by Johan Dahlin
parent 2bf3084cd0
commit d9c245e137
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2008-03-02 Johan Dahlin <johan@gnome.org>
* configure.in: Compare using = instead of ==, which is portable.
(#490787, Thomas Klausner)
d2008-03-02 Johan Dahlin <johan@gnome.org>
* tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
fixes non-C++ build.
(#496032, Nelson Benitez)

View File

@ -156,7 +156,7 @@ AM_CONDITIONAL(HAVE_CXX, test "$CXX" != "")
gtk_save_cxxflags="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -x objective-c++"
AC_TRY_COMPILE([@interface Foo @end],,OBJC=yes,OBJC=no)
AM_CONDITIONAL(HAVE_OBJC, test "$OBJC" == "yes")
AM_CONDITIONAL(HAVE_OBJC, test "$OBJC" = "yes")
CXXFLAGS="$gtk_save_cxxflags"
AC_LANG_RESTORE