diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-22 21:56:32 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-22 21:56:32 +0000 |
commit | 7fd6d389b97fa365e10be68641066970d16cfa5f (patch) | |
tree | 4c8b7a4efcfb9e80f75ff86e29fcad275cbbd740 /lackey | |
parent | 5706ca98d16b4ed5f455c71c01655fc12f6b9eb9 (diff) |
Rename all the arch/OS/platform-related variables in configure.in to make it
clearer what they mean:
- They all have VGCONF_ prefixes now, to indicate they come out of
configure.in (and are clearly distinguished from the VGA_/VGO_/VGP_
#defines passed in to C files).
- The ones that refer to the primary *or* secondary platform have _INCLUDES_
in them.
- The ones that are in all-caps have a _CAPS suffix.
So, for example, what was VGP_X86_LINUX is now
VGCONF_PLATFORMS_INCLUDE_X86_LINUX, which is more verbose but also a lot
clearer. The names of the #defines used in the C files (VGA_x86, VGO_linux,
etc) are unchanged.
cputest.c: changed to reflect the Valgrind installation's capabilities,
rather than the machine's capabilities. In particular, if
--enable-only32bit is used on a 64-bit machine, then this program will claim
to only support 32-bits. Also use the VGA/VGO/VGP macros which are clearer
than the __i386__ ones. (This is partially merged from the DARWIN branch.)
configure.in: clean up the comments, distinguish different sections more
clearly, and generally make it more readable.
valgrind.pc.in: try to make this more accurate. I doubt anyone's using it.
It doesn't appear to be set up to handle dual-architecture builds.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9031 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'lackey')
-rw-r--r-- | lackey/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lackey/Makefile.am b/lackey/Makefile.am index 3091c62b..69a1a823 100644 --- a/lackey/Makefile.am +++ b/lackey/Makefile.am @@ -1,22 +1,22 @@ include $(top_srcdir)/Makefile.tool.am noinst_PROGRAMS = -if VGP_X86_LINUX +if VGCONF_PLATFORMS_INCLUDE_X86_LINUX noinst_PROGRAMS += lackey-x86-linux endif -if VGP_AMD64_LINUX +if VGCONF_PLATFORMS_INCLUDE_AMD64_LINUX noinst_PROGRAMS += lackey-amd64-linux endif -if VGP_PPC32_LINUX +if VGCONF_PLATFORMS_INCLUDE_PPC32_LINUX noinst_PROGRAMS += lackey-ppc32-linux endif -if VGP_PPC64_LINUX +if VGCONF_PLATFORMS_INCLUDE_PPC64_LINUX noinst_PROGRAMS += lackey-ppc64-linux endif -if VGP_PPC32_AIX5 +if VGCONF_PLATFORMS_INCLUDE_PPC32_AIX5 noinst_PROGRAMS += lackey-ppc32-aix5 endif -if VGP_PPC64_AIX5 +if VGCONF_PLATFORMS_INCLUDE_PPC64_AIX5 noinst_PROGRAMS += lackey-ppc64-aix5 endif |