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:
committed by
Johan Dahlin
parent
2bf3084cd0
commit
d9c245e137
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user