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