From 89722b8558e29bc0cbe6e37337ad4774f34cab55 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 22 Dec 2010 14:51:55 +0100 Subject: [PATCH] yazpp-config: Use exec_prefix, libdir, includedir Use these variables as determined by configure --- yazpp-config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 1.7.10.4