changeset 1968:30dc9370beba icedtea6-1.7.4

Only display old plugin warning if --enable-plugin is specified. 2010-07-27 Andrew John Hughes <ahughes@redhat.com> * acinclude.m4: (IT_CHECK_OLD_PLUGIN): Only display warning if --enable-plugin is specified.
author Andrew John Hughes <ahughes@redhat.com>
date Tue, 27 Jul 2010 22:55:15 +0100
parents caae3106585d
children 8e46ad398f83
files ChangeLog acinclude.m4
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 27 19:26:44 2010 +0100
+++ b/ChangeLog	Tue Jul 27 22:55:15 2010 +0100
@@ -1,3 +1,9 @@
+2010-07-27  Andrew John Hughes  <ahughes@redhat.com>
+
+	* acinclude.m4:
+	(IT_CHECK_OLD_PLUGIN): Only display warning
+	if --enable-plugin is specified.
+
 2010-07-27  Andrew John Hughes  <ahughes@redhat.com>
 
 	* NEWS: Add CVE numbers.
--- a/acinclude.m4	Tue Jul 27 19:26:44 2010 +0100
+++ b/acinclude.m4	Tue Jul 27 22:55:15 2010 +0100
@@ -1266,7 +1266,9 @@
                               [Enable compilation of the old browser plugin])],
               [enable_plugin="${enableval}"], [enable_plugin="no"])
 AC_MSG_RESULT(${enable_plugin})
-AC_MSG_WARN([The old plugin is no longer maintained and will be removed in 1.7.5.])
+if test "x${enable_plugin}" = "xyes"; then
+   AC_MSG_WARN([The old plugin is no longer maintained and will be removed in 1.7.5.])
+fi
 ])
 
 AC_DEFUN_ONCE([IT_CHECK_NEW_PLUGIN],