... |
... |
@@ -78,16 +78,31 @@
|
78 |
78 |
AC_MSG_CHECKING([whether to build the additional tools])
|
79 |
79 |
if test x"$enable_tools" != x"no"; then
|
80 |
80 |
AC_MSG_RESULT([yes])
|
81 |
81 |
else
|
82 |
82 |
AC_MSG_RESULT([no])
|
83 |
83 |
fi
|
84 |
84 |
AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
|
85 |
85 |
|
|
86 |
dnl Support for running test cases using valgrind.
|
|
87 |
use_valgrind=no
|
|
88 |
AC_ARG_ENABLE([valgrind],
|
|
89 |
AS_HELP_STRING([--enable-valgrind], [use valgrind when running tests]),
|
|
90 |
[use_valgrind=yes])
|
|
91 |
|
|
92 |
if [[ "$use_valgrind" = "yes" ]]; then
|
|
93 |
AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no)
|
|
94 |
|
|
95 |
if [[ "$HAVE_VALGRIND" = "no" ]]; then
|
|
96 |
AC_MSG_ERROR([Valgrind not found in PATH.])
|
|
97 |
fi
|
|
98 |
fi
|
|
99 |
AM_CONDITIONAL(USE_VALGRIND, [test "$use_valgrind" = "yes"])
|
|
100 |
|
86 |
101 |
dnl Checks for header files.
|
87 |
102 |
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
|
88 |
103 |
|
89 |
104 |
dnl Checks for typedefs, structures, and compiler characteristics.
|
90 |
105 |
AC_C_CONST
|
91 |
106 |
AC_C_INLINE
|
92 |
107 |
AC_TYPE_SIZE_T
|
93 |
108 |
AC_HEADER_TIME
|
... |
... |
@@ -123,16 +138,17 @@
|
123 |
138 |
echo
|
124 |
139 |
echo GLPK support.................. : $lx_glpk_found
|
125 |
140 |
echo CPLEX support................. : $lx_cplex_found
|
126 |
141 |
echo SOPLEX support................ : $lx_soplex_found
|
127 |
142 |
echo CLP support................... : $lx_clp_found
|
128 |
143 |
echo CBC support................... : $lx_cbc_found
|
129 |
144 |
echo
|
130 |
145 |
echo Build additional tools........ : $enable_tools
|
|
146 |
echo Use valgrind for tests........ : $use_valgrind
|
131 |
147 |
echo
|
132 |
148 |
echo The packace will be installed in
|
133 |
149 |
echo -n ' '
|
134 |
150 |
echo $prefix.
|
135 |
151 |
echo
|
136 |
152 |
echo '*********************************************************************'
|
137 |
153 |
|
138 |
154 |
echo
|