Autoconf macro in yazpp.m4: YAZPP_INIT.
[yazpp-moved-to-github.git] / yaz++-config.in
index 1ff5a31..fa55712 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: yaz++-config.in,v 1.3 2001-03-26 14:43:49 adam Exp $
+# $Id: yaz++-config.in,v 1.4 2002-11-14 14:41:07 adam Exp $
 yazppprefix=@prefix@
 yaz_echo_cflags=no
 yaz_echo_libs=no
@@ -11,6 +11,7 @@ yazpp_src_root=@YAZPP_SRC_ROOT@
 yazpp_build_root=@YAZPP_BUILD_ROOT@
 
 yazlibs="@YAZLIB@ @LIBS@"
+yazlalibs="@YAZLALIB@ @LIBS@"
 YAZPPVERSION=@VERSION@
 
 usage()
@@ -69,8 +70,8 @@ while test $# -gt 0; do
 done
 
 if test "$yaz_echo_source" = "yes"; then
-    YAZPPLIB="-L${yazpp_build_root}/src/.libs -lyaz++ $yazlibs"
-    YAZPPLALIB="${yazpp_build_root}/src/libyaz++.la $yazlibs"
+    YAZPPLIB="-L${yazpp_build_root}/lib/.libs -lyaz++ $yazlibs"
+    YAZPPLALIB="${yazpp_build_root}/lib/libyaz++.la $yazlalibs"
     YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include"
 else