From a0fee6f1b628f4482ae271e034fceeab0a10f362 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Fri, 20 Dec 2013 12:08:51 +0100 Subject: finished removal of legacy xulrunner api --- ChangeLog | 6 ++++++ acinclude.m4 | 20 -------------------- configure.ac | 1 - 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4017e1..a330fc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-20 Jiri Vanek + + finished removal of legacy xulrunner api + * acinclude.m4: (IT_CHECK_XULRUNNER_API_VERSION) removed + * configure.ac: likewise + 2013-12-20 Jiri Vanek singletons logic, logs and test cleanup/fixes diff --git a/acinclude.m4 b/acinclude.m4 index 6d2ca55..3a23b5a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -520,26 +520,6 @@ AC_DEFUN_ONCE([IT_CHECK_GLIB_VERSION],[ PKG_CHECK_MODULES([GLIB2_V_216],[glib-2.0 >= 2.16],[],[AC_DEFINE([LEGACY_GLIB])]) ]) -AC_DEFUN_ONCE([IT_CHECK_XULRUNNER_API_VERSION], -[ - AC_MSG_CHECKING([for legacy xulrunner api]) - AC_LANG_PUSH(C++) - CXXFLAGS_BACKUP=$CXXFLAGS - CXXFLAGS=$CXXFLAGS" "$MOZILLA_CFLAGS - AC_TRY_COMPILE([ - #include - const char* NP_GetMIMEDescription () - {return (char*) "yap!";} - ],[],[ - AC_MSG_RESULT(no) - ],[ - AC_MSG_RESULT(yes) - AC_DEFINE([LEGACY_XULRUNNERAPI]) - ]) - CXXFLAGS=$CXXFLAGS_BACKUP - AC_LANG_POP(C++) -]) - AC_DEFUN([IT_CHECK_WITH_GCJ], [ AC_MSG_CHECKING([whether to compile ecj natively]) diff --git a/configure.ac b/configure.ac index 92e30fd..217f5f4 100644 --- a/configure.ac +++ b/configure.ac @@ -82,7 +82,6 @@ IT_CHECK_FOR_CLASS(COM_SUN_JNDI_TOOLKIT_URL_URLUTIL, [com.sun.jndi.toolkit.url.U IT_CHECK_FOR_CLASS(SUN_APPLET_APPLETIMAGEREF, [sun.applet.AppletImageRef]) IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE IT_CHECK_GLIB_VERSION -IT_CHECK_XULRUNNER_API_VERSION # # Find optional depedencies -- cgit v1.2.3