X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=metaproxy-config.in;h=1b84da58c6fb03c543f9206278d1bc5cd2c972c8;hb=01189013b6ce8b20c9ee559777d38d97cfaee3e6;hp=9a4bb8cc08b5091083d644bb88b1691e683f972d;hpb=dd6954fd5ae7c0bd90df8869f2351a72ee363440;p=metaproxy-moved-to-github.git diff --git a/metaproxy-config.in b/metaproxy-config.in index 9a4bb8c..1b84da5 100644 --- a/metaproxy-config.in +++ b/metaproxy-config.in @@ -1,15 +1,18 @@ #!/bin/sh -prefix=@prefix@ +prefix="@prefix@" +exec_prefix="@exec_prefix@" +libdir="@libdir@" +includedir="@includedir@" echo_cflags=no echo_libs=no echo_help=no echo_tabs=no echo_source=yes echo_lalibs=no -src_root=@abs_top_srcdir@ -build_root=@abs_top_builddir@ +src_root="@abs_top_srcdir@" +build_root="@abs_top_builddir@" -libs="@YAZPPLIB@ @LIBS@" +libs="@BOOST_LIB@ @BOOST_SYSTEM_LIB@ @BOOST_REGEX_LIB@ @BOOST_THREAD_LIB@ @YAZPPLIB@ @LIBS@" lalibs="@YAZPPLALIB@ @LIBS@" VERSION=@VERSION@ @@ -68,7 +71,7 @@ while test $# -gt 0; do shift done -INC="@YAZPPINC@" +INC="@YAZPPINC@ @BOOST_CPPFLAGS@" if test "$echo_source" = "yes"; then LIB="-L${build_root}/src/.libs -lmetaproxy $libs" @@ -77,11 +80,11 @@ if test "$echo_source" = "yes"; then else LIB="-lmetaproxy $libs" if test "$prefix" != "/usr"; then - LIB="-L${prefix}/lib $LIB" + LIB="-L${libdir} $LIB" fi - LALIB=$LIB + LALIB="$LIB" if test "$prefix" != "/usr"; then - INC="-I${prefix}/include $INC" + INC="-I${includedir} $INC" fi fi