aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9a243a1be..0a7b78398 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,11 +192,29 @@ xulrunner) min_version=1.8 ;;
*) AC_MSG_ERROR([Unsupported gecko "$gecko_cv_gecko"]) ;;
esac
+AM_CONDITIONAL([HAVE_XULRUNNER],[test "$gecko_cv_gecko" = "xulrunner"])
+
# Added $gecko_cv_gecko-js for debian xulrunner brokenness
PKG_CHECK_MODULES([GECKO],[${gecko_cv_gecko}-xpcom >= $min_version ${gecko_cv_gecko}-js $gecko_cv_extra_pkg_dependencies])
AC_SUBST([GECKO_CFLAGS])
AC_SUBST([GECKO_LIBS])
+# *****************
+# Weasel UA version
+# *****************
+
+# FIXMEchpe: find a way to always automatically use the latest weasel minor version!
+
+if test "$gecko_cv_gecko_version_int" -ge "1009000"; then
+ WEASEL_UA_VERSION="3.0"
+elif test "$gecko_cv_gecko_version_int" -ge "1008001"; then
+ WEASEL_UA_VERSION="2.0.0.4"
+else
+ WEASEL_UA_VERSION="1.5.0.12"
+fi
+
+AC_SUBST([WEASEL_UA_VERSION])
+
# **********************************
# now tests for mozilla API variance
# **********************************
@@ -661,6 +679,7 @@ data/icons/scalable/actions/Makefile
data/icons/scalable/status/Makefile
data/art/Makefile
data/ui/Makefile
+data/weasel-ua-pref.js
doc/Makefile
doc/reference/Makefile
lib/Makefile
pan>1-1/+1 * Add 'USE_CSTD= gnu89' to fix build with clangmakc2011-06-211-0/+1 * - Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.az2011-06-2010-11/+6 * Last bunch of deprecation: no more public distfiles and/or abandonware... las...bapt2011-06-171-0/+3 * Mark broken some ports with unfetchable distfilesbapt2011-06-171-0/+2 * - Update maintainer addresscrees2011-06-171-1/+1 * Update the MAINTAINER address of a few lost ports.romain2011-06-141-1/+1 * Hello Mono 2.10!romain2011-06-137-13/+6 * Resurrect this port.cy2011-06-0912-0/+546 * Assume maintainership.cy2011-06-091-1/+1 * Fix XAllocID assertion in Xview applications.cy2011-06-092-6/+27 * fix compilation if gcc 4.5 or 4.6 are installedoliver2011-06-071-0/+22 * - Fix invalid define for WITH_TK86_MANmm2011-06-061-2/+2 * Chase security/gnutls update and add an UPDATING entry.novel2011-06-06