9 src_root=@abs_top_srcdir@
10 build_root=@abs_top_builddir@
11 yazlibs="@YAZLIB@ @LIBS@"
12 yazlalibs="@YAZLALIB@ @LIBS@"
18 Usage: yazpp-config [OPTIONS] [LIBRARIES]
29 if test $# -eq 0; then
33 while test $# -gt 0; do
35 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
70 libs_short="-lyazpp -lzoompp"
74 if test "$echo_source" = "yes"; then
75 YAZPPLIB="-L${build_root}/src/.libs -lyazpp"
76 YAZPPLIB="$YAZPPLIB -L${build_root}/zoom/.libs -lzoompp"
77 YAZPPLIB="$YAZPPLIB $yazlibs"
78 YAZPPLALIB="${build_root}/src/libyazpp.la $yazlalibs"
79 YAZPPINC="-I${src_root}/include $YAZPPINC"
82 if test "$prefix" = "/usr"; then
83 YAZPPLIB="${libs_short} $yazlibs"
85 YAZPPLIB="-L${prefix}/lib ${libs_short} $yazlibs"
88 if test "$prefix" != "/usr"; then
89 YAZPPINC="-I${prefix}/include $YAZPPINC"
93 if test "$echo_help" = "yes"; then
96 if test "$echo_cflags" = "yes"; then
99 if test "$echo_libs" = "yes"; then
102 if test "$echo_lalibs" = "yes"; then