projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaz-config: Use exec_prefix, libdir, includedir
[yaz-moved-to-github.git]
/
yaz-config.in
diff --git
a/yaz-config.in
b/yaz-config.in
index
2074827
..
e491516
100644
(file)
--- a/
yaz-config.in
+++ b/
yaz-config.in
@@
-3,6
+3,9
@@
# Copyright (C) 1995-2008 Index Data
prefix=@prefix@
# 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
echo_cflags=no
echo_libs=no
echo_help=no
@@
-145,12
+148,12
@@
else
YAZCOMP=${prefix}/bin/yaz-asncomp
if test "$prefix" != "/usr"; then
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
fi
YAZLIB="$YAZLIB $LIBS"
YAZLALIB=$YAZLIB
if test "$prefix" != "/usr"; then
- YAZINC="-I$prefix/include $YAZINC"
+ YAZINC="-I${includedir} $YAZINC"
fi
fi
fi
fi