#! /bin/sh /usr/share/dpatch/dpatch-run ## 01_configure.dpatch by Oleksandr Moskalenko ## Updated by Savvas Radevic ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fix libboost library @DPATCH@ --- smc-1.7/configure 2008-12-25 03:47:15.000000000 +0100 +++ configure.new 2009-01-05 20:00:07.000000000 +0100 @@ -3195,13 +3195,13 @@ # Check for the Boost Filesystem library -{ echo "$as_me:$LINENO: checking for main in -lboost_filesystem" >&5 -echo $ECHO_N "checking for main in -lboost_filesystem... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: checking for main in -lboost_filesystem-mt" >&5 +echo $ECHO_N "checking for main in -lboost_filesystem-mt... $ECHO_C" >&6; } if test "${ac_cv_lib_boost_filesystem_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lboost_filesystem $LIBS" +LIBS="-lboost_filesystem-mt $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -3255,7 +3255,7 @@ #define HAVE_LIBBOOST_FILESYSTEM 1 _ACEOF - LIBS="-lboost_filesystem $LIBS" + LIBS="-lboost_filesystem-mt $LIBS" else { { echo "$as_me:$LINENO: error: Unable to find Boost Filesystem library" >&5