This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/bee/cryptominisat-2.5.1/configure.in

40 lines
1021 B
Plaintext
Raw Normal View History

2019-04-22 12:15:21 +01:00
AC_INIT(cryptominisat, 2.5.1a)
dnl use libtool
AC_PROG_LIBTOOL
dnl we are C++
AC_LANG_CPLUSPLUS
AC_PROG_CXX
AC_LANG(C++)
dnl AC_CONFIG_AUX_DIR([m4-extra])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS(config.h)
AC_CHECK_HEADERS(iostream)
# checks for compiler characteristics
AC_CHECK_SIZEOF([int])
AC_CHECK_SIZEOF([long])
AC_CHECK_SIZEOF([size_t])
# checks for library functions
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
#statistics generation needed
AH_TEMPLATE([STATS_NEEDED],[Enable statistics generation code (Define to 1 if needed)])
#AC_DEFINE([STATS_NEEDED])
#search for pools
AH_TEMPLATE([USE_POOLS], [Use memory pools to store packed clauses])
m4_include(m4-extra/boost.m4)
BOOST_REQUIRE(1.40, AC_MSG_WARN([Cannot find boost library -- clauses will not be packed(slowdown)]))
if test "${HAVE_BOOST}" == "1" ; then
BOOST_FIND_HEADER(boost/pool/pool.hpp, AC_MSG_WARN([Cannot find boost pool library -- clauses will not be packed]), AC_DEFINE([USE_POOLS]))
fi
AC_OUTPUT(Makefile Solver/Makefile)