1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
--- configure.ac 2006-11-13 13:41:06.000000000 +0100
+++ configure.ac 2006-11-14 13:35:05.506333992 +0100
@@ -14,7 +14,7 @@
GECKOSHARP_REQUIRED_VERSION=0.10
m4_define(gtk_required_version, 2.6.0)
-m4_define(mozilla_required_version, 1.6)
+m4_define(seamonkey_required_version, 1.0)
m4_define(firefox_required_version, 1.0)
m4_define(xulrunner_required_version, 1.8)
### Check for pkg-config
@@ -75,9 +75,9 @@
if test $mozpackage = any ; then
AC_MSG_CHECKING(for Gecko development files)
- if $PKG_CONFIG --exists mozilla-gtkmozembed; then
- AC_MSG_RESULT([Mozilla detected])
- mozpackage=mozilla
+ if $PKG_CONFIG --exists seamonkey-gtkmozembed; then
+ AC_MSG_RESULT([Seamonkey detected])
+ mozpackage=seamonkey
else
if $PKG_CONFIG --exists firefox-gtkmozembed; then
AC_MSG_RESULT([Firefox detected])
@@ -87,15 +87,15 @@
AC_MSG_RESULT([XulRunner detected])
mozpackage=xulrunner
else
- AC_MSG_ERROR([Neither Firefox nor Mozilla development packages were detected])
+ AC_MSG_ERROR([Neither Firefox nor Seamonkey development packages were detected])
fi
fi
fi
fi
case $mozpackage in
- firefox) mozpackage_required_version=firefox_required_version ;;
- mozilla) mozpackage_required_version=mozilla_required_version ;;
+ firefox) mozpackage_required_version=firefox_required_version ;;
+ seamonkey) mozpackage_required_version=seamonkey_required_version ;;
xulrunner) mozpackage_required_version=xulrunner_required_version ;;
*) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla' or 'firefox'])
esac
@@ -104,9 +104,11 @@
AC_SUBST(MOZILLA_HOME)
PKG_CHECK_MODULES(JSGLUEDEPS, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
- $mozpackage-xpcom >= $mozpackage_required_version
- gtk+-2.0 >= gtk_required_version])
+ $mozpackage-xpcom >= $mozpackage_required_version,
+ gtk+-2.0 >= gtk_required_version])
+JSGLUEDEPS_CFLAGS+=" -I${MOZILLA_HOME}/include/dom -I${MOZILLA_HOME}/include/webbrwsr"
+AC_SUBST(JSGLUEDEPS_CFLAGS)
AC_OUTPUT([
Makefile
jscall-sharp.pc
|