From c9fb45080ff2e2d45a7049c0b1ff8705f97f7dc2 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 26 Nov 2005 11:47:03 +0000 Subject: Fix -fshort-wchar compiler flag check --- m4/gecko.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/gecko.m4 b/m4/gecko.m4 index 7f774cea3..4454e6084 100644 --- a/m4/gecko.m4 +++ b/m4/gecko.m4 @@ -51,7 +51,7 @@ _GECKO=$with_gecko dnl Autodetect gecko _geckos="firefox mozilla-firefox seamonkey mozilla xulrunner" -if test "x$_GECKO" = "x"; then +if test -z "$_GECKO"; then for lizard in $_geckos; do if $PKG_CONFIG --exists $lizard-xpcom; then _GECKO=$lizard @@ -113,7 +113,7 @@ CXXFLAGS="$_SAVE_CXXFLAGS" AC_LANG_POP([C++]) -if test "$_GECKO_cv_have_usable_wchar_option" = "yes"; then +if test "$gecko_cv_have_usable_wchar_option" = "yes"; then CXXFLAGS="$CXXFLAGS -fshort-wchar" AM_CXXFLAGS="$AM_CXXFLAGS -fshort-wchar" fi -- cgit v1.2.3