]> git.pld-linux.org Git - packages/blam.git/blame - blam-mozilla.patch
- rel 12 (xulrunner 1.8.1.10)
[packages/blam.git] / blam-mozilla.patch
CommitLineData
223d465f 1diff -urN aa/blam-1.6.0/configure.in blam-1.6.0/configure.in
71b52b1d 2--- blam-1.6.0.orig/configure.in 2004-10-23 15:12:46.000000000 +0200
223d465f 3+++ blam-1.6.0/configure.in 2004-11-01 19:44:12.709044680 +0100
71b52b1d 4@@ -70,13 +70,15 @@
5
6 MOZILLA=
7 AC_ARG_WITH([mozilla],
8- AC_HELP_STRING([--with-mozilla@<:@=mozilla|firefox|thunderbird@:>@],
9- [Whether to use mozilla, firefox or thunderbird gtkmozembed (default: mozilla)]),
10+ AC_HELP_STRING([--with-mozilla@<:@=xulrunner|mozilla|firefox|thunderbird@:>@],
11+ [Whether to use xulrunner, mozilla, firefox or thunderbird gtkmozembed (default: xulrunner)]),
12 [MOZILLA="$withval"])
13
14 dnl try to autodetect: if mozilla exists, use it, else try firefox, then thunderbird
15 if test "x$MOZILLA" = "x"; then
16- if pkg-config --exists mozilla-gtkmozembed; then
17+ if pkg-config --exists xulrunner-gtkmozembed; then
18+ MOZILLA=xulrunner
19+ elif pkg-config --exists mozilla-gtkmozembed; then
20 MOZILLA=mozilla
21 elif pkg-config --exists firefox-gtkmozembed; then
22 MOZILLA=firefox
23@@ -85,7 +87,7 @@
24 else
25 AC_MSG_ERROR([no mozilla installation found])
26 fi
27-elif test "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x$with_mozilla" != "xthunderbird"; then
28+elif test "x$with_mozilla" != "xxulrunner" -a "x$with_mozilla" != "xmozilla" -a "x$with_mozilla" != "xfirefox" -a "x$with_mozilla" != "xthunderbird"; then
29 AC_MSG_ERROR([unknown mozilla name ($MOZILLA)])
30 fi
31
32@@ -94,6 +96,7 @@
33 AC_MSG_RESULT([$MOZILLA])
34
35 case "$MOZILLA" in
36+xulrunner) min_version=1.8 flavour=toolkit ;;
37 mozilla) min_version=1.7 flavour=mozilla ;;
38 firefox) min_version=0.10 flavour=toolkit ;;
39 thunderbird) min_version=0.8 flavour=toolkit ;;
223d465f 40@@ -107,7 +107,7 @@
41 MOZILLA_INCLUDE_ROOT="`$PKG_CONFIG --variable=includedir $MOZILLA-gtkmozembed`"
42 AC_SUBST(MOZILLA_INCLUDE_ROOT)
43
44-MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $MOZILLA-gtkmozembed`"
45+MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $MOZILLA-plugin`"
46 AC_SUBST(MOZILLA_HOME)
47
48 MOZILLA_PREFIX="`$PKG_CONFIG --variable=prefix $MOZILLA-gtkmozembed`"
This page took 0.086446 seconds and 4 git commands to generate.