Windows: use Boost 1.59, msvc 14.0
[metaproxy-moved-to-github.git] / metaproxy-config.in
index 9a4bb8c..1b84da5 100644 (file)
@@ -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