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 YAZPPLIB="-L${build_root}/src/.libs -lyazpp $YAZPPLIB"
82 YAZPPLALIB="${build_root}/src/libyazpp.la $YAZPPLALIB"
83 YAZPPINC="$YAZPPINC -I${src_root}/include"
85 if test "$echo_zoom" = "yes"; then
90 if test "$prefix" = "/usr"; then
91 YAZPPLIB="${libs_short} $YAZPPLIB"
93 YAZPPLIB="-L${libdir} ${libs_short} $YAZPPLIB"
96 if test "$prefix" != "/usr"; then
97 YAZPPINC="$YAZPPINC -I${includedir}"
101 if test "$echo_help" = "yes"; then
104 if test "$echo_cflags" = "yes"; then
107 if test "$echo_libs" = "yes"; then
110 if test "$echo_lalibs" = "yes"; then