3 exec_prefix=@exec_prefix@
5 includedir=@includedir@
12 src_root=@abs_top_srcdir@
13 build_root=@abs_top_builddir@
14 yazlibs="@YAZLIB@ @LIBS@"
15 yazlalibs="@YAZLALIB@ @LIBS@"
21 Usage: yazpp-config [OPTIONS] [LIBRARIES]
32 if test $# -eq 0; then
36 while test $# -gt 0; do
38 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72 libs_short="-lyazpp -lzoompp"
76 if test "$echo_source" = "yes"; then
77 YAZPPLIB="-L${build_root}/src/.libs -lyazpp"
78 YAZPPLIB="$YAZPPLIB -L${build_root}/zoom/.libs -lzoompp"
79 YAZPPLIB="$YAZPPLIB $yazlibs"
80 YAZPPLALIB="${build_root}/src/libyazpp.la $yazlalibs"
81 YAZPPINC="-I${src_root}/include $YAZPPINC"
83 if test "$prefix" = "/usr"; then
84 YAZPPLIB="${libs_short} $yazlibs"
86 YAZPPLIB="-L${libdir} ${libs_short} $yazlibs"
89 if test "$prefix" != "/usr"; then
90 YAZPPINC="-I${includedir} $YAZPPINC"
94 if test "$echo_help" = "yes"; then
97 if test "$echo_cflags" = "yes"; then
100 if test "$echo_libs" = "yes"; then
103 if test "$echo_lalibs" = "yes"; then