From: Adam Dickmeiss Date: Wed, 22 Dec 2010 13:51:55 +0000 (+0100) Subject: yazpp-config: Use exec_prefix, libdir, includedir X-Git-Tag: v1.2.4~7 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=89722b8558e29bc0cbe6e37337ad4774f34cab55;p=yazpp-moved-to-github.git yazpp-config: Use exec_prefix, libdir, includedir Use these variables as determined by configure --- diff --git a/yazpp-config.in b/yazpp-config.in index 4379120..cd5946d 100644 --- a/yazpp-config.in +++ b/yazpp-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 @@ -82,11 +85,11 @@ else if test "$prefix" = "/usr"; then YAZPPLIB="${libs_short} $yazlibs" else - YAZPPLIB="-L${prefix}/lib ${libs_short} $yazlibs" + YAZPPLIB="-L${libdir} ${libs_short} $yazlibs" fi YAZPPLALIB=$YAZPPLIB if test "$prefix" != "/usr"; then - YAZPPINC="-I${prefix}/include $YAZPPINC" + YAZPPINC="-I${includedir} $YAZPPINC" fi fi