aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorChhristian Persch <chpe@cvs.gnome.org>2006-04-17 22:23:53 +0800
committerChristian Persch <chpe@src.gnome.org>2006-04-17 22:23:53 +0800
commitca5c5b595be26cc91a92abb9b7c61fead8e11e3e (patch)
treeb65acc3138173e3fecd4e1122eba4a49c2c429ae /m4
parentd0fbb2dbdc437d122b4ebe33110bb926ffa34e8a (diff)
downloadgsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.tar
gsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.tar.gz
gsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.tar.bz2
gsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.tar.lz
gsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.tar.xz
gsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.tar.zst
gsoc2013-epiphany-ca5c5b595be26cc91a92abb9b7c61fead8e11e3e.zip
Also allow cairo-gtk2 builds. Builds but segfaults on startup.
2006-04-17 Chhristian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Also allow cairo-gtk2 builds. Builds but segfaults on startup.
Diffstat (limited to 'm4')
-rw-r--r--m4/gecko.m48
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index 0f53ae54a..56c8b634e 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -182,8 +182,13 @@ AC_RUN_IFELSE(
[AC_LANG_SOURCE(
[[#include <mozilla-config.h>
#include <string.h>
+ #include <stdlib.h>
int main(void) {
- return strcmp (MOZ_DEFAULT_TOOLKIT, "gtk2") != 0;
+ if (strcmp (MOZ_DEFAULT_TOOLKIT, "gtk2") == 0 ||
+ strcmp (MOZ_DEFAULT_TOOLKIT, "cairo-gtk2") == 0)
+ return EXIT_SUCCESS;
+
+ return EXIT_FAILURE;
} ]]
)],
[result=yes],
@@ -396,7 +401,6 @@ AC_DEFUN([GECKO_XPCOM_PROGRAM],
[[
// redirect unwanted mozilla debug output to the bit bucket
freopen ("/dev/null", "w", stdout);
-//freopen ("/dev/null", "w", stderr);
nsresult rv;
nsCOMPtr<nsILocalFile> directory;