Add about:buildconfig

Bug #140034 r=bbaetz sr=darin
This commit is contained in:
seawood%netscape.com 2003-02-22 05:27:42 +00:00
parent a933850866
commit c01ffacdd7
8 changed files with 512 additions and 443 deletions

View File

@ -715,6 +715,7 @@ xpfe/browser/resources/locale/Makefile
xpfe/browser/resources/locale/en-US/Makefile
xpfe/browser/resources/locale/en-US/unix/Makefile
xpfe/global/Makefile
xpfe/global/buildconfig.html
xpfe/global/resources/Makefile
xpfe/global/resources/content/Makefile
xpfe/global/resources/content/os2/Makefile

893
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -352,11 +352,15 @@ GNU_AS=
GNU_LD=
GNU_CC=
GNU_CXX=
CC_VERSION='N/A'
CXX_VERSION='N/A'
if test "$GCC" = "yes"; then
GNU_CC=1
CC_VERSION=`$CC -v 2>&1 | grep 'gcc version'`
fi
if test "$GXX" = "yes"; then
GNU_CXX=1
CXX_VERSION=`$CXX -v 2>&1 | grep 'gcc version'`
fi
if test "`echo | $AS -v 2>&1 | grep -c GNU`" != "0"; then
GNU_AS=1
@ -4885,6 +4889,8 @@ AC_SUBST(OBJ_SUFFIX)
AC_SUBST(BIN_SUFFIX)
AC_SUBST(ASM_SUFFIX)
AC_SUBST(USE_N32)
AC_SUBST(CC_VERSION)
AC_SUBST(CXX_VERSION)
if test "$USING_HCC"; then
CC='${topsrcdir}/build/hcc'
@ -4971,6 +4977,8 @@ MOZILLA_VERSION=`$my_perl $my_srcdir/config/milestone.pl -topsrcdir $my_srcdir`
AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZILLA_VERSION")
AC_SUBST(MOZILLA_VERSION)
AC_SUBST(ac_configure_args)
dnl Spit out some output
dnl ========================================================

View File

@ -873,6 +873,11 @@ static const nsModuleComponentInfo gNetModuleInfo[] = {
NS_ABOUT_MODULE_CONTRACTID_PREFIX "logo",
nsAboutRedirector::Create
},
{ "about:buildconfig",
NS_ABOUT_REDIRECTOR_MODULE_CID,
NS_ABOUT_MODULE_CONTRACTID_PREFIX "buildconfig",
nsAboutRedirector::Create
},
{ "about:cache",
NS_ABOUT_CACHE_MODULE_CID,

View File

@ -70,7 +70,8 @@ static RedirEntry kRedirMap[] = {
{ "mozilla", "chrome://global/content/mozilla.xhtml", PR_TRUE },
{ "plugins", "chrome://communicator/content/plugins.html", PR_FALSE },
{ "config", "chrome://global/content/config.xul", PR_FALSE },
{ "logo", "chrome://global/content/logo.gif", PR_TRUE }
{ "logo", "chrome://global/content/logo.gif", PR_TRUE },
{ "buildconfig", "chrome://global/content/buildconfig.html", PR_TRUE },
};
static const int kRedirTotal = sizeof(kRedirMap)/sizeof(*kRedirMap);

View File

@ -28,7 +28,7 @@ include $(DEPTH)/config/autoconf.mk
DIRS = resources
CHROME_DEPS = build.dtd
CHROME_DEPS = build.dtd buildconfig.html
include $(topsrcdir)/config/rules.mk

View File

@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>about:buildconfig</title>
</head>
<body>
<h1>about:buildconfig</h1>
<p> </p>
<h2>Build platform</h2>
<table>
<tbody>
<tr>
<th>target</th>
</tr>
<tr>
<td>@target@</td>
</tr>
</tbody>
</table>
<p> </p>
<h2>Build tools</h2>
<table>
<tbody>
<tr>
<th>Compiler</th>
<th>Version</th>
</tr>
<tr>
<td>@CC@</td>
<td>@CC_VERSION@</td>
</tr>
<tr>
<td>@CXX@</td>
<td>@CXX_VERSION@</td>
</tr>
</tbody>
</table>
<p> </p>
<h2>Configure arguments</h2>
@ac_configure_args@
</body>
</html>

View File

@ -76,6 +76,7 @@ toolkit.jar:
content/global/bindings/toolbarbutton.xml (resources/content/bindings/toolbarbutton.xml)
content/global/bindings/tree.xml (resources/content/bindings/tree.xml)
content/global/bindings/wizard.xml (resources/content/bindings/wizard.xml)
content/global/buildconfig.html (buildconfig.html)
en-US.jar:
locale/en-US/global/contents.rdf (resources/locale/en-US/contents.rdf)