Changeset 3504 for branches/0.13-stable


Ignore:
Timestamp:
Jun 21, 2016, 7:28:41 AM (5 years ago)
Author:
Peter
Message:

fixes #863. add libboost_system before looking for boost_thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.13-stable/configure.ac

    r3443 r3504  
    1010# Copyright (C) 2010, 2011 Peter Johansson
    1111# Copyright (C) 2012 Jari Häkkinen, Peter Johansson
    12 # Copyright (C) 2013, 2014, 2015 Peter Johansson
     12# Copyright (C) 2013, 2014, 2015, 2016 Peter Johansson
    1313#
    1414# This file is part of the yat library, http://dev.thep.lu.se/yat
     
    247247# skip boost link tests if boost is not wanted (--without-boost)
    248248AS_IF([test x"$want_boost" = x"yes"],[
     249  AX_BOOST_SYSTEM
     250  LIBS="$BOOST_SYSTEM_LIB $LIBS"
    249251  AX_BOOST_THREAD
    250   AX_BOOST_SYSTEM
    251252  YAT_CPP_ADD_FLAG([CPPFLAGS], [$BOOST_CPPFLAGS])
    252253  YAT_LD_ADD_FLAG([LDFLAGS], [$BOOST_LDFLAGS])
    253   # boost tests above only test compilation, so let's try link in the libs
    254   LIBS="$LIBS $BOOST_THREAD_LIB $BOOST_SYSTEM_LIB"
     254  LIBS="$BOOST_THREAD_LIB $LIBS"
     255  # linking tests in AX_BOOST_SYSTEM occasionaly miss to detect
     256  # missing lib (see ticket #719), so link specifically here to catch
     257  # that case.
    255258  AC_MSG_CHECKING([for boost::thread_specific_ptr])
    256259  AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <boost/thread/tss.hpp>],
Note: See TracChangeset for help on using the changeset viewer.