aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-21 20:16:40 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-21 20:16:40 +0800
commit8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e (patch)
tree8e4ab558f39793769810a8ae09766a9519b117e3 /configure.in
parentb853dd33180565c32e0955b747bc17e5f10f0bbe (diff)
downloadgsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar
gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.gz
gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.bz2
gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.lz
gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.xz
gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.tar.zst
gsoc2013-epiphany-8f392f3e4c7f93e358bb4a6d7dcebdca5ecb647e.zip
Simplified nsIContentPolicy API check.
2004-09-21 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/EphyContentPolicy.cpp: Simplified nsIContentPolicy API check.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 51ef3b432..12a7f89c7 100644
--- a/configure.in
+++ b/configure.in
@@ -236,10 +236,12 @@ AC_COMPILE_IFELSE(
nsISupports *arg4;
p->ShouldLoad(0,nsnull,nsnull,arg4,nsEmbedCString(),nsnull,nsnull);]]
)],
- [AC_DEFINE([MOZ_NSICONTENTPOLICY_VARIANT_2],[1],[dummy]) result=2],
- [AC_DEFINE([MOZ_NSICONTENTPOLICY_VARIANT_1],[1],[dummy]) result=1])
+ [variant=2],
+ [variant=1])
-AC_MSG_RESULT([variant $result])
+AC_DEFINE_UNQUOTED([MOZ_NSICONTENTPOLICY_VARIANT], [$variant], [Define the nsIContentPolicy API variant])
+
+AC_MSG_RESULT([variant $variant])
dnl Changed from char* to nsIURI* in 1.7.4 on 1.7 branch,
dnl in 1.8a3 on trunk and on aviary branch