-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathconfig_summary.m4
91 lines (85 loc) · 2.81 KB
/
config_summary.m4
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# SYNOPSIS
#
# Summarizes configuration settings.
#
# AX_SUMMARIZE_CONFIG([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
#
# DESCRIPTION
#
# Outputs a summary of relevant configuration settings.
#
# LAST MODIFICATION
#
# 2010-03-24
#
AC_DEFUN([AX_SUMMARIZE_CONFIG],
[
echo
echo '----------------------------------- SUMMARY -----------------------------------'
echo
echo Package version............... : $PACKAGE-$VERSION
echo
echo C++ compiler.................. : $CXX
echo C++ compiler flags............ : $CXXFLAGS
echo Install dir................... : $prefix
echo Build user.................... : $USER
echo Build host.................... : $BUILD_HOST
echo Configure date................ : $BUILD_DATE
echo Build architecture............ : $BUILD_ARCH
echo Revision id................... : $BUILD_VERSION
echo
echo Library Dependencies:
echo libMesh....................... : $LIBMESH_PREFIX
echo libMesh CXXFLAGS.............. : $LIBMESH_CXXFLAGS
echo libMesh INCLUDE............... : $LIBMESH_INCLUDE
echo libMesh LDFLAGS............... : $LIBMESH_LDFLAGS
echo libMesh LIBS.................. : $LIBMESH_LIBS
#echo QUESO......................... : $QUESO_PREFIX
#echo Trilinos...................... : $TRILINOS_PREFIX
#echo HDF5.......................... : $HDF5_PREFIX
#echo GSL........................... : $GSL_PREFIX
#echo GLPK.......................... : $GLPK_PREFIX
echo
echo Testing Options:
if test "x$HAVE_CPPUNIT" = "x1"; then
echo ' 'CppUnit..................... : yes
echo ' 'CPPUNIT_VERSION........... : $CPPUNIT_VERSION
echo ' 'CPPUNIT_CPPFLAGS.......... : $CPPUNIT_CPPFLAGS
echo ' 'CPPUNIT_LIBS.............. : $CPPUNIT_LIBS
else
echo ' 'CppUnit..................... : no
fi
echo
echo Optional Features:
if test "x$HAVE_ANTIOCH" = "x1"; then
echo ' 'Antioch....................... : yes
echo ' 'ANTIOCH_CPPFLAGS............ : $ANTIOCH_CPPFLAGS
echo ' 'ANTIOCH_LDFLAGS............. : $ANTIOCH_LDFLAGS
echo ' 'ANTIOCH_LIBS................ : $ANTIOCH_LIBS
else
echo ' 'Antioch....................... : no
fi
if test "x$HAVE_CANTERA" = "x1"; then
echo ' 'Cantera....................... : yes
echo ' 'CANTERA_CPPFLAGS............ : $CANTERA_CPPFLAGS
echo ' 'CANTERA_LDFLAGS............. : $CANTERA_LDFLAGS
echo ' 'CANTERA_LIBS................ : $CANTERA_LIBS
else
echo ' 'Cantera....................... : no
fi
if test "$HAVE_MASA" = "0"; then
echo ' 'Link with MASA................ : no
else
echo ' 'Link with MASA................ : $MASA_PREFIX
fi
if test "$HAVE_GCOV_TOOLS" = "0"; then
echo ' 'Enable gcov code coverage..... : no
else
echo ' 'Enable gcov code coverage..... : yes
fi
echo
echo '-------------------------------------------------------------------------------'
echo
echo Configure complete, now type \'make\' and then \'make install\'.
echo
])