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]*=//'` ;;
73 libs_short="-lyazpp -lzoompp"
77 if test "$echo_source" = "yes"; then
78 YAZPPLIB="-L${build_root}/src/.libs -lyazpp"
79 YAZPPLIB="$YAZPPLIB -L${build_root}/zoom/.libs -lzoompp"
80 YAZPPLIB="$YAZPPLIB $yazlibs"
81 YAZPPLALIB="${build_root}/src/libyazpp.la $yazlalibs"
82 YAZPPINC="-I${src_root}/include $YAZPPINC"
85 if test "$prefix" = "/usr"; then
86 YAZPPLIB="${libs_short} $yazlibs"
88 YAZPPLIB="-L${libdir} ${libs_short} $yazlibs"
91 if test "$prefix" != "/usr"; then
92 YAZPPINC="-I${includedir} $YAZPPINC"
96 if test "$echo_help" = "yes"; then
99 if test "$echo_cflags" = "yes"; then
102 if test "$echo_libs" = "yes"; then
105 if test "$echo_lalibs" = "yes"; then