Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r0174b62 r004d5c  
    33
    44AC_PREREQ(2.59)
    5 AC_INIT(MoleCuilder, 1.2.5, [heber@ins.uni-bonn.de], [molecuilder], [http://trac.ins.uni-bonn.de/projects/molecuilder/])
     5AC_INIT(MoleCuilder, 1.2.4, [heber@ins.uni-bonn.de], [molecuilder], [http://trac.ins.uni-bonn.de/projects/molecuilder/])
    66AC_CONFIG_AUX_DIR([build-aux])
    77AC_CONFIG_SRCDIR([src/builder.cpp])
     
    8787# refer to the libtool manual, section "Updating library version information":
    8888# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
    89 AC_SUBST([MOLECUILDER_SO_VERSION], [9:0:0])
    90 AC_SUBST([MOLECUILDER_API_VERSION], [1.2.5])
     89AC_SUBST([MOLECUILDER_SO_VERSION], [8:0:1])
     90AC_SUBST([MOLECUILDER_API_VERSION], [1.2.4])
    9191
    9292dnl this macro is used to get the arguments supplied
     
    163163# Boost headers with libraries
    164164BOOST_FILESYSTEM
     165BOOST_IOSTREAMS
    165166BOOST_PROGRAM_OPTIONS
    166167AS_IF([test x"$enable_python" != x"no"], [BOOST_PYTHON])
     
    169170
    170171
    171 # CodePatterns library (needs Chronos clock time conversion bugfix)
    172 AM_PATH_CODEPATTERNS([1.2.1], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])])
     172# CodePatterns library (needs boost/archive/iserializer.hpp before MemDebug.hpp)
     173AM_PATH_CODEPATTERNS([1.2.2], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])])
     174
     175# JobMarket library (needs boost/archive/iserializer.hpp before MemDebug.hpp)
     176AC_ARG_ENABLE(
     177  [jobmarket],
     178  AS_HELP_STRING([--enable-jobmarket],[turn on JobMarket feature [default=yes]]),
     179  enable_jobmarket=$enableval,
     180  enable_jobmarket="yes")
     181AC_MSG_RESULT($enable_jobmarket)
     182AS_IF([test x"$enable_jobmarket" != x"no"],[
     183  AM_PATH_JOBMARKET([1.0.0], $have_debug,[
     184    # the following is only required if we have JobMarket
     185    BOOST_ASIO
     186    AC_DEFINE(HAVE_JOBMARKET,1, ["use JobMarket to calculate fragment jobs."])
     187    ],[
     188      enable_jobmarket="no"
     189    ])
     190]
     191#[
     192#  AC_DEFINE(HAVE_JOBMARKET,0, ["use JobMarket to calculate fragment jobs."])
     193#]
     194)
     195AC_SUBST(HAVE_JOBMARKET)
     196AM_CONDITIONAL([CONDJOBMARKET], [test x"$enable_jobmarket" = x"yes"])
    173197
    174198# Checks for header files.
     
    271295AC_CONFIG_FILES([tests/Fragmentations/molecuilder], [chmod +x tests/Fragmentations/molecuilder])
    272296
     297AC_CONFIG_TESTDIR(tests/JobMarket)
     298AC_CONFIG_FILES([
     299  tests/JobMarket/atlocal
     300  tests/JobMarket/Makefile])
     301AC_CONFIG_FILES([tests/JobMarket/molecuilder], [chmod +x tests/JobMarket/molecuilder])
     302
    273303AC_CONFIG_TESTDIR(tests/regression)
    274304AC_CONFIG_FILES([
     
    296326        src/unittests/Makefile
    297327])
     328
    298329# produce python scripts and tests only when python's present
    299330AM_COND_IF([CONDPYTHON],[
     
    305336        AC_CONFIG_FILES([tests/Python/Makefile])
    306337])
     338
    307339AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.