From 92d27e4d818fdd4613e42ea79184974c39d34c93 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 22 Dec 2010 14:48:05 +0100 Subject: [PATCH] yaz-config: Use exec_prefix, libdir, includedir Use these variables as determined by configure --- yaz-config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/yaz-config.in b/yaz-config.in index 2074827..e491516 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -3,6 +3,9 @@ # Copyright (C) 1995-2008 Index Data prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ echo_cflags=no echo_libs=no echo_help=no @@ -145,12 +148,12 @@ else YAZCOMP=${prefix}/bin/yaz-asncomp if test "$prefix" != "/usr"; then - YAZLIB="-L$prefix/lib $YAZLIB" + YAZLIB="-L$libdir $YAZLIB" fi YAZLIB="$YAZLIB $LIBS" YAZLALIB=$YAZLIB if test "$prefix" != "/usr"; then - YAZINC="-I$prefix/include $YAZINC" + YAZINC="-I${includedir} $YAZINC" fi fi -- 1.7.10.4