9 src_root=@abs_top_srcdir@
10 build_root=@abs_top_builddir@
12 libs="@YAZPPLIB@ @LIBS@"
13 lalibs="@YAZPPLALIB@ @LIBS@"
19 Usage: metaproxy-config [OPTIONS] [LIBRARIES]
30 if test $# -eq 0; then
34 while test $# -gt 0; do
36 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
71 INC="@YAZPPINC@ @BOOST_CPPFLAGS@"
73 if test "$echo_source" = "yes"; then
74 LIB="-L${build_root}/src/.libs -lmetaproxy $libs"
75 LALIB="${build_root}/src/libmetaproxy.la $lalibs"
76 INC="-I${src_root}/include $INC"
78 LIB="-lmetaproxy $libs"
79 if test "$prefix" != "/usr"; then
80 LIB="-L${prefix}/lib $LIB"
83 if test "$prefix" != "/usr"; then
84 INC="-I${prefix}/include $INC"
88 if test "$echo_help" = "yes"; then
91 if test "$echo_cflags" = "yes"; then
94 if test "$echo_libs" = "yes"; then
97 if test "$echo_lalibs" = "yes"; then