From a80e6fb6716fcd879b5dbd501b72c87accbfdd37 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Fri, 31 Aug 2012 10:42:09 +0100 Subject: tools: remove vestigial default_lib.m4 macros and adjust substitutions LIB_PATH is no longer used, so the AX_DEFAULT_LIB macro is no longer needed. Additionally lower case make variables are now used as autoconf substitutions, which allows for more correct overrides at build time. I've checked the file layout in dist/install from the build made before this change versus after with ./configure values of: 1) ./configure (no flags provided) 2) ./configure --libdir=/usr/lib/x86_64-linux-gnu (Debian style) 3) ./configure --libdir='${exec_prefix}/lib' (late variable expansion) Signed-off-by: Matt Wilson Acked-by: Ian Jackson Acked-by: Ian Campbell [ ijc - reran autogen.sh ] Committed-by: Ian Campbell --- config/Tools.mk.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/Tools.mk.in b/config/Tools.mk.in index 8a52bccda3..b6bdad0915 100644 --- a/config/Tools.mk.in +++ b/config/Tools.mk.in @@ -1,7 +1,9 @@ # Prefix and install folder -PREFIX := @prefix@ +prefix := @prefix@ +PREFIX := $(prefix) exec_prefix := @exec_prefix@ -LIBDIR := @libdir@ +libdir := @libdir@ +LIBDIR := $(libdir) # A debug build of tools? debug := @debug@ -- cgit v1.2.3