Hi,

This patch fixes a wrong warning when only one GUI was selected.
"Enabled NPAPI plugin, but it's not supported by the selected GUI"

should not be displayed if only either GUI is selected. e.g. GTK only.

Regads,
Gwenole.
From 12d79ae019ea5da98d039ecacfc8b6dd7392707b Mon Sep 17 00:00:00 2001
From: Gwenole Beauchesne <[email protected]>
Date: Wed, 19 May 2010 07:24:49 +0000
Subject: [PATCH 1/2] Fix warning for NPAPI support and compatibility with the selected GUI.

---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index b15eaee..d25e09a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2030,8 +2030,8 @@ fi
 
 AM_CONDITIONAL(HAVE_GLIB, [ test x"${has_glib}" = xyes ])
 
-if test x$build_gtk = xno -o x$build_kde4 = xno; then
-  if test x$npapi = xyes; then
+if test x$npapi = xyes; then
+  if ! test x$build_gtk = xyes -o x$build_kde4 = xyes; then
     AC_MSG_WARN(["Enabled NPAPI plugin, but it's not supported by the selected GUI"])
   fi
 fi
-- 
1.7.0.4

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to