aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-11-10 06:16:20 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-10 06:16:20 +0800
commit2e13a1425a5f9b52e6b91c395a304cc71b2d6102 (patch)
treeea0b877bc6e7fb39a9d365fb97e3c98f183a3ea6
parent644d76ada5c90a2b070c5a31be3fe6a95156fe5d (diff)
downloadgsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.tar
gsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.tar.gz
gsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.tar.bz2
gsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.tar.lz
gsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.tar.xz
gsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.tar.zst
gsoc2013-epiphany-2e13a1425a5f9b52e6b91c395a304cc71b2d6102.zip
Tiny output improvements.
2005-11-09 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * m4/gecko.m4: Tiny output improvements.
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac2
-rw-r--r--m4/gecko.m411
3 files changed, 13 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 596349932..d2c3cb554 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,13 @@
* configure.ac:
* m4/gecko.m4:
+ Tiny output improvements.
+
+2005-11-09 Christian Persch <chpe@cvs.gnome.org>
+
+ * configure.ac:
+ * m4/gecko.m4:
+
Add check for contract IDs which we need but are only provided
by extensions which may or may not have been built into gecko.
We cannot check for the headers here since they are always present.
diff --git a/configure.ac b/configure.ac
index 85b5b748a..fcd5f409a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -408,7 +408,7 @@ fi
dnl Check for some contractIDs that we need but are provided by extensions
dnl which may or may not have been built.
-GECKO_CHECK_CONTRACTID([PermissionsManager],[@mozilla.org/permissionmanager;1])
+GECKO_CHECK_CONTRACTID([PermissionManager],[@mozilla.org/permissionmanager;1])
GECKO_CHECK_CONTRACTID([CookiePermission],[@mozilla.org/cookie/permission;1])
dnl ***************
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index 29542fbd3..15ab200de 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -92,7 +92,6 @@ dnl **************************************************************
AC_LANG_PUSH([C++])
-_SAVE_CPPFLAGS=$CPPFLAGS
_SAVE_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -fshort-wchar"
@@ -105,7 +104,7 @@ AC_CACHE_CHECK([for compiler -fshort-wchar option],
} ]])],
[gecko_cv_have_usable_wchar_option="yes"],
[gecko_cv_have_usable_wchar_option="no"],
- [gecko_cv_have_usable_wchar_option="maybe"])])
+ [gecko_cv_have_usable_wchar_option="maybe (cross-compiling)"])])
CXXFLAGS="$_SAVE_CXXFLAGS"
@@ -220,9 +219,9 @@ NS_ShutdownXPCOM (nsnull);
exit (EXIT_SUCCESS);
])
],
-[gecko_cv_xpcom_contractid_[]$1[]=yes],
-[gecko_cv_xpcom_contractid_[]$1[]=no],
-[gecko_cv_xpcom_contractid_[]$1[]="no (cross-compiling)"])
+[gecko_cv_xpcom_contractid_[]$1[]=present],
+[gecko_cv_xpcom_contractid_[]$1[]="not present"],
+[gecko_cv_xpcom_contractid_[]$1[]="not present (cross-compiling)"])
CPPFLAGS="$_SAVE_CPPFLAGS"
CXXFLAGS="$_SAVE_CXXFLAGS"
@@ -232,7 +231,7 @@ AC_LANG_POP([C++])
])
-if test "$gecko_cv_xpcom_contractid_[]$1" = "yes"; then
+if test "$gecko_cv_xpcom_contractid_[]$1" = "present"; then
ifelse([$3],,[:],[$3])
else
ifelse([$4],,[AC_MSG_FAILURE([dnl