From 1dd9dfae7980869d1423dc2bd9f0d29acd815c2a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 22 Dec 2010 14:55:48 +0100 Subject: [PATCH] metaproxy-config: exec_prefix, libdir, includedir Use these variables as determined by configure --- metaproxy-config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/metaproxy-config.in b/metaproxy-config.in index 0a6bcc3..d9e7f03 100644 --- a/metaproxy-config.in +++ b/metaproxy-config.in @@ -1,5 +1,8 @@ #!/bin/sh prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ echo_cflags=no echo_libs=no echo_help=no @@ -77,11 +80,11 @@ if test "$echo_source" = "yes"; then else LIB="-lmetaproxy $libs" if test "$prefix" != "/usr"; then - LIB="-L${prefix}/lib $LIB" + LIB="-L${libdir} $LIB" fi LALIB=$LIB if test "$prefix" != "/usr"; then - INC="-I${prefix}/include $INC" + INC="-I${includedir} $INC" fi fi -- 1.7.10.4