Skip to content
Snippets Groups Projects
Commit ab2a5d4f authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Update configure.ac file

parent e5ec0e95
No related branches found
No related tags found
No related merge requests found
...@@ -19,23 +19,23 @@ AC_PROG_CXX([g++]) ...@@ -19,23 +19,23 @@ AC_PROG_CXX([g++])
AC_CHECK_LIB([gslcblas],[cblas_dgemm]) AC_CHECK_LIB([gslcblas],[cblas_dgemm])
AC_CHECK_LIB([gsl],[gsl_sf_coupling_3j]) AC_CHECK_LIB([gsl],[gsl_sf_coupling_3j])
AC_CHECK_LIB(boost_system, main, , [ AC_CHECK_LIB(boost_system-mt, main, , [
AC_CHECK_LIB(boost_system-mt, main, , [ AC_CHECK_LIB(boost_system, main, , [
AC_MSG_ERROR("Linking against boost::system library failed.") AC_MSG_ERROR("Linking against boost::system library failed.")
]) ])
]) ])
AC_CHECK_LIB(boost_filesystem, main, , [ AC_CHECK_LIB(boost_filesystem-mt, main, , [
AC_CHECK_LIB(boost_filesystem-mt, main, , [ AC_CHECK_LIB(boost_filesystem, main, , [
AC_MSG_ERROR("Linking against boost::filesystem library failed.") AC_MSG_ERROR("Linking against boost::filesystem library failed.")
]) ])
]) ])
AC_CHECK_LIB(boost_serialization, main, , [ AC_CHECK_LIB(boost_serialization-mt, main, , [
AC_CHECK_LIB(boost_serialization-mt, main, , [ AC_CHECK_LIB(boost_serialization, main, , [
AC_MSG_ERROR("Linking against boost::serialization library failed.") AC_MSG_ERROR("Linking against boost::serialization library failed.")
]) ])
]) ])
AC_CHECK_LIB(boost_mpi, main, , [ AC_CHECK_LIB(boost_mpi-mt, main, , [
AC_CHECK_LIB(boost_mpi-mt, main, , [ AC_CHECK_LIB(boost_mpi, main, , [
AC_MSG_ERROR("Linking against boost::mpi library failed.") AC_MSG_ERROR("Linking against boost::mpi library failed.")
]) ])
]) ])
...@@ -64,23 +64,23 @@ AX_BOOST_BASE([1.40], [], [AC_MSG_ERROR("BOOST version >= 1.4.0 required.")]) ...@@ -64,23 +64,23 @@ AX_BOOST_BASE([1.40], [], [AC_MSG_ERROR("BOOST version >= 1.4.0 required.")])
AC_LANG_PUSH([C++]) AC_LANG_PUSH([C++])
#AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],[Use MPI. Please make sure mpicxx and mpif90 are in $PATH])], [with_mpi=$withval], [with_mpi=no]) AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],[Use MPI. Please make sure mpicxx and mpif90 are in $PATH])], [with_mpi=$withval], [with_mpi=no])
#if test x${with_mpi} = xopenmpi ; then if test x${with_mpi} = xopenmpi ; then
# echo "..openmpi requested.." echo "..openmpi requested.."
#elif test x${with_mpi} = xintel ; then elif test x${with_mpi} = xintel ; then
# echo "..Intel mpi requested.." echo "..Intel mpi requested.."
#elif test x${with_mpi} = xmvapich ; then elif test x${with_mpi} = xmvapich ; then
# echo "..mvapich requested.." echo "..mvapich requested.."
#elif test x${with_mpi} != xno ; then elif test x${with_mpi} != xno ; then
# AC_MSG_ERROR("Please specify MPI implementation (openmpi, intel, mvapich)") AC_MSG_ERROR("Please specify MPI implementation (openmpi, intel, mvapich)")
#fi fi
#if test x${with_mpi} != xno; then if test x${with_mpi} != xno; then
# ACX_MPI ACX_MPI
# AC_PROG_CC([$MPICC]) AC_PROG_CC([$MPICC])
# AC_PROG_CXX([$MPICXX]) AC_PROG_CXX([$MPICXX])
# LIBS="${MPILIBS} ${LIBS}" LIBS="${MPILIBS} ${LIBS}"
# CXXFLAGS="${CXXFLAGS}" CXXFLAGS="${CXXFLAGS}"
#fi fi
# LT_INIT([disable-static]) # LT_INIT([disable-static])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment