Ignore:
Timestamp:
Apr 6, 2011, 4:05:13 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
2ed1a0
Parents:
624a32
git-author:
Frederik Heber <heber@…> (04/06/11 14:45:10)
git-committer:
Frederik Heber <heber@…> (04/06/11 16:05:13)
Message:

Replaced *_boost_*.m4 by boost.m4 from tsuna.

  • https://github.com/tsuna/boost.m4/ has a very nice boost m4 macro to check for presence of boost headers and libraries, also setting the rpath correctly.
  • required changes in all Makefile.ams as BOOST_... variable names have changed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Patterns/unittests/Makefile.am

    r624a32 ra0ddcf  
    44INCLUDES = -I$(top_srcdir)/src/Patterns -I$(top_srcdir)/src/Helpers
    55
    6 AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl $(BOOST_LDFLAGS)
     6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl $(BOOST_THREAD_LDFLAGS)
    77AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
    88AM_CPPFLAGS = ${BOOST_CPPFLAGS}
     
    2525noinst_PROGRAMS = $(TESTS)
    2626
    27 BOOST_LIB = $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
    2827TESTLIBS = \
    2928        ../../libCodePatterns-debug.la \
    30         $(BOOST_LIB)
     29        $(BOOST_THREAD_LIBS)
    3130
    3231CacheableUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
Note: See TracChangeset for help on using the changeset viewer.