-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfigure.ac
More file actions
69 lines (40 loc) · 1.33 KB
/
configure.ac
File metadata and controls
69 lines (40 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT(cocoa, 1.0, takac.mt@gmail.com)
AC_MSG_NOTICE([CoCoA Framework.])
AM_INIT_AUTOMAKE([1.12 foreign no-define])
echo " Testing for a C compiler"
AC_PROG_CC
echo " Testing for a C++ compiler"
AC_PROG_CXX
AC_LANG(C++)
# Checks for programs.
AC_PROG_INSTALL
AC_PROG_MAKE_SET
# Checks for libraries.
echo " "
echo " Testing for GSL and CLBAS Libraries "
echo " "
AC_CHECK_LIB([gslcblas],[cblas_dgemm])
if test "$ac_cv_lib_gslcblas_cblas_dgemm" == no
then
AC_MSG_ERROR([Error, the boost_system header is missing!])
fi
#-lboost_system -lboost_timer -lboost_chrono -lrt -lboost_mpi -lboost_serialization -lgsl -lgslcblas -lm -lboost_thread
echo " "
echo " Testing for Boost Libraries "
echo " "
AC_CHECK_LIB(boost_system)
# Checks for header files.
AC_CHECK_HEADERS(iostream)
AC_CHECK_HEADERS(stdio.h)
AC_CHECK_HEADERS(stdlib.h)
AC_CHECK_HEADERS(unistd.h)
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
# Configure MPI
AC_PROG_CXX([mpic++ mpicxx])
AC_CONFIG_FILES([Makefile
src/Makefile])
AC_OUTPUT