From: Adam Dickmeiss Date: Wed, 22 Dec 2010 13:55:48 +0000 (+0100) Subject: metaproxy-config: exec_prefix, libdir, includedir X-Git-Tag: v1.2.4~10 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=1dd9dfae7980869d1423dc2bd9f0d29acd815c2a;p=metaproxy-moved-to-github.git metaproxy-config: exec_prefix, libdir, includedir Use these variables as determined by configure --- 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