From ba95ddbf39c3f44344392750626f77d914fc5ca5 Mon Sep 17 00:00:00 2001 From: David Golden Date: Wed, 10 Nov 2010 11:15:50 -0500 Subject: Add use_versioned_archname to Configure This patch adds 'use_versioned_archname' as a Configure option. When set, it includes 'api_versionstring' in 'archname'. E.g. x86_64-linux-5.13.6-thread-multi. It is unset by default. This feature was requested by Tim Bunce, who observed that INSTALL_BASE creates a library structure that does not differentiate by perl version. Instead, it places architecture specific files in "$install_base/lib/perl5/$archname". This makes it difficult to use a common INSTALL_BASE library path with multiple versions of perl. By setting -Duse_versioned_archname, the $archname will be distinct for architecture *and* API version, allowing mixed use of INSTALL_BASE. This patch demonstrates the desired effect for discussion. Actual changes would need to be made upstream in metaconfig and integrated back into blead. --- Porting/Glossary | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Porting') diff --git a/Porting/Glossary b/Porting/Glossary index 68312a391d..0fbac11259 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -5018,6 +5018,10 @@ use64bitint (use64bits.U): This may mean using for example "long longs", while your memory may still be limited to 2 gigabytes. +use_versioned_archname (archname.U): + This variable indicates whether to include the $api_versionstring + as a component of the $archname. + usecrosscompile (Cross.U): This variable conditionally defines the USE_CROSS_COMPILE symbol, and indicates that Perl has been cross-compiled. -- cgit v1.2.1