#!/bin/sh
-# $Id: yazpp-config.in,v 1.2 2006-12-12 14:39:02 marc Exp $
+# $Id: yazpp-config.in,v 1.3 2007-04-13 10:26:57 adam Exp $
yazppprefix=@prefix@
yaz_echo_cflags=no
yaz_echo_libs=no
libs_short="-lyazpp -lzoompp"
+YAZPPINC="@YAZINC@"
+
if test "$yaz_echo_source" = "yes"; then
YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyazpp"
YAZPPLIB="$YAZPPLIB -L${yazpp_build_root}/zoom/.libs -lzoompp"
YAZPPLIB="$YAZPPLIB $yazlibs"
YAZPPLALIB="${yazpp_build_root}/src/libyazpp.la $yazlalibs"
- YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
+ YAZPPINC="-I${yazpp_src_root}/include $YAZPPINC"
else
if test "$yazppprefix" = "/usr"; then
YAZPPLIB="-L${yazppprefix}/lib ${libs_short} $yazlibs"
fi
YAZPPLALIB=$YAZPPLIB
- if test "$yazppprefix" = "/usr"; then
- YAZPPINC="@YAZINC@"
- else
- YAZPPINC="@YAZINC@ -I${yazppprefix}/include"
+ if test "$yazppprefix" != "/usr"; then
+ YAZPPINC="-I${yazppprefix}/include $YAZPPINC"
fi
fi