3 exec_prefix=@exec_prefix@
5 includedir=@includedir@
13 src_root=@abs_top_srcdir@
14 build_root=@abs_top_builddir@
15 yazlibs="@YAZLIB@ @LIBS@"
16 yazlalibs="@YAZLALIB@ @LIBS@"
22 Usage: yazpp-config [OPTIONS] [LIBRARIES]
33 if test $# -eq 0; then
37 while test $# -gt 0; do
39 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
77 YAZPPLALIB="$yazlalibs"
80 if test "$echo_source" = "yes"; then
81 if test "$echo_zoom" = "yes"; then
82 YAZPPLIB="-L${build_root}/zoom/.libs -lzoomzpp $YAZPPLIB"
83 YAZPPLALIB="${build_root}/zoom/libzoompp.la $YAZPPLALIB"
85 YAZPPLIB="-L${build_root}/src/.libs -lyazpp $YAZPPLIB"
86 YAZPPLALIB="${build_root}/src/libyazpp.la $YAZPPLALIB"
88 YAZPPINC="$YAZPPINC -I${src_root}/include"
90 if test "$echo_zoom" = "yes"; then
95 if test "$prefix" = "/usr"; then
96 YAZPPLIB="${libs_short} $YAZPPLIB"
98 YAZPPLIB="-L${libdir} ${libs_short} $YAZPPLIB"
101 if test "$prefix" != "/usr"; then
102 YAZPPINC="$YAZPPINC -I${includedir}"
106 if test "$echo_help" = "yes"; then
109 if test "$echo_cflags" = "yes"; then
112 if test "$echo_libs" = "yes"; then
115 if test "$echo_lalibs" = "yes"; then