-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="-I${yazpp_src_root}/include $YAZPPINC"
+if test "$echo_source" = "yes"; then
+ if test "$echo_zoom" = "yes"; then
+ YAZPPLIB="-L${build_root}/zoom/.libs -lzoomzpp $YAZPPLIB"
+ YAZPPLALIB="${build_root}/zoom/libzoompp.la $YAZPPLALIB"
+ else
+ YAZPPLIB="-L${build_root}/src/.libs -lyazpp $YAZPPLIB"
+ YAZPPLALIB="${build_root}/src/libyazpp.la $YAZPPLALIB"
+ fi
+ YAZPPINC="$YAZPPINC -I${src_root}/include"