3 exec_prefix=@exec_prefix@
5 includedir=@includedir@
12 src_root=@abs_top_srcdir@
13 build_root=@abs_top_builddir@
15 libs="@YAZPPLIB@ @LIBS@"
16 lalibs="@YAZPPLALIB@ @LIBS@"
22 Usage: metaproxy-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]*=//'` ;;
74 INC="@YAZPPINC@ @BOOST_CPPFLAGS@"
76 if test "$echo_source" = "yes"; then
77 LIB="-L${build_root}/src/.libs -lmetaproxy $libs"
78 LALIB="${build_root}/src/libmetaproxy.la $lalibs"
79 INC="-I${src_root}/include $INC"
81 LIB="-lmetaproxy $libs"
82 if test "$prefix" != "/usr"; then
83 LIB="-L${libdir} $LIB"
86 if test "$prefix" != "/usr"; then
87 INC="-I${includedir} $INC"
91 if test "$echo_help" = "yes"; then
94 if test "$echo_cflags" = "yes"; then
97 if test "$echo_libs" = "yes"; then
100 if test "$echo_lalibs" = "yes"; then