|
From: <sv...@va...> - 2006-01-04 03:31:19
|
Author: sewardj
Date: 2006-01-04 03:31:07 +0000 (Wed, 04 Jan 2006)
New Revision: 5496
Log:
Minor cleanups:
- get rid of some unused _ALL defns
- clarify logic in setting up VG_<platform>
- clarify some comments
Modified:
trunk/configure.in
trunk/docs/internals/multiple-architectures.txt
Modified: trunk/configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/configure.in 2006-01-04 03:08:16 UTC (rev 5495)
+++ trunk/configure.in 2006-01-04 03:31:07 UTC (rev 5496)
@@ -113,8 +113,7 @@
=20
AC_MSG_CHECKING([for a supported CPU])
AC_SUBST(VG_ARCH)
-AC_SUBST(VG_ARCH_ALL)
-VG_ARCH_ALL=3D"amd64 ppc32 ppc64 x86"
+
AC_SUBST(VALT_LOAD_ADDRESS)
=20
case "${host_cpu}" in
@@ -170,8 +169,6 @@
=20
AC_MSG_CHECKING([for a supported OS])
AC_SUBST(VG_OS)
-AC_SUBST(VG_OS_ALL)
-VG_OS_ALL=3D"linux"
=20
case "${host_os}" in
*linux*)
@@ -213,20 +210,14 @@
;;
esac
=20
-# What's this used for?
-AC_SUBST(VG_PLATFORM_ALL)
-VG_PLATFORM_ALL=3D"amd64-linux ppc32-linux ppc64-linux x86-linux"
=20
# Establish VG_PLATFORM_PRI. This is the primary build target. The
# entire system, including regression and performance tests, will be
-# built for this target. On 32-bit systems this is the only build
-# target.
+# built for this target.
#
-# Now establish VG_PLATFORM_SEC, the secondary build target, if
+# Also establish VG_PLATFORM_SEC, the secondary build target, if
# possible. The system will also be built for this target, but not
-# the regression or performance tests. Also decide what -m32/-m64
-# flags are needed for the primary and secondary build targets.
-# XXXXXXXXXXXXX is this needed?
+# the regression or performance tests.
#
AC_MSG_CHECKING([for a supported CPU/OS combination])
=20
@@ -265,11 +256,13 @@
# Set up VG_<platform>. Either one or two of these become defined.
#
AM_CONDITIONAL(VG_X86_LINUX, =20
- test x$VG_PLATFORM_PRI =3D xX86_LINUX -o x$VG_PLATFORM_PR=
I =3D xAMD64_LINUX)
+ test x$VG_PLATFORM_PRI =3D xX86_LINUX \
+ -o x$VG_PLATFORM_SEC =3D xX86_LINUX)
AM_CONDITIONAL(VG_AMD64_LINUX,=20
test x$VG_PLATFORM_PRI =3D xAMD64_LINUX)
AM_CONDITIONAL(VG_PPC32_LINUX,=20
- test x$VG_PLATFORM_PRI =3D xPPC32_LINUX -o x$VG_PLATFORM_=
PRI =3D xPPC64_LINUX)
+ test x$VG_PLATFORM_PRI =3D xPPC32_LINUX \=20
+ -o x$VG_PLATFORM_SEC =3D xPPC32_LINUX)
AM_CONDITIONAL(VG_PPC64_LINUX,=20
test x$VG_PLATFORM_PRI =3D xPPC64_LINUX)
=20
Modified: trunk/docs/internals/multiple-architectures.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/internals/multiple-architectures.txt 2006-01-04 03:08:16 U=
TC (rev 5495)
+++ trunk/docs/internals/multiple-architectures.txt 2006-01-04 03:31:07 U=
TC (rev 5496)
@@ -44,9 +44,6 @@
VG_PLATFORM_PRI to be the primary target
VG_PLATFORM_SEC to be the secondary target, if any
=20
-(VG_PLATFORM_SEC is only used for printing an informational message at
-configure time).
-
It also sets one (single-arch build) or two (dual-arch build) of
the following:
=20
|