| [14de469] | 1 | # -*- Autoconf -*-
|
|---|
| 2 | # Process this file with autoconf to produce a configure script.
|
|---|
| 3 |
|
|---|
| 4 | AC_PREREQ(2.59)
|
|---|
| [d0f3ba] | 5 | AC_INIT(MoleCuilder, 1.3.1, [heber@ins.uni-bonn.de], [molecuilder], [http://trac.ins.uni-bonn.de/projects/molecuilder/])
|
|---|
| [bf4b9f] | 6 | AC_CONFIG_AUX_DIR([build-aux])
|
|---|
| [14de469] | 7 | AC_CONFIG_SRCDIR([src/builder.cpp])
|
|---|
| [861874] | 8 | AC_CONFIG_HEADER([config.h libmolecuilder_config.h])
|
|---|
| 9 | AC_CONFIG_MACRO_DIR([m4])
|
|---|
| [bf4b9f] | 10 | AC_CONFIG_SUBDIRS([LinearAlgebra])
|
|---|
| [14de469] | 11 |
|
|---|
| [dc322a] | 12 | # parallel-tests: use parallel test druver
|
|---|
| 13 | # color-tests: us coloring to indicate success/failure when available
|
|---|
| 14 | # tar-pax: use newer tar implementation with longer filename (>99 chars)
|
|---|
| [4cf35ac] | 15 | AM_INIT_AUTOMAKE([dist-bzip2 1.5 parallel-tests color-tests tar-pax])
|
|---|
| [14de469] | 16 |
|
|---|
| 17 | # Checks for programs.
|
|---|
| [54a746] | 18 | AM_PATH_CPPUNIT(1.9.6)
|
|---|
| [14de469] | 19 | AC_PROG_CXX
|
|---|
| [54a746] | 20 | AC_PROG_INSTALL
|
|---|
| [14de469] | 21 |
|
|---|
| [c015b3] | 22 | dnl Check if we have enable python
|
|---|
| 23 | # python module
|
|---|
| 24 | AC_MSG_CHECKING(whether to enable python module)
|
|---|
| [f99714] | 25 | AC_ARG_ENABLE(
|
|---|
| 26 | [python],
|
|---|
| 27 | AS_HELP_STRING([--enable-python],[turn on python module [default=yes]]),
|
|---|
| 28 | enable_python=$enableval,
|
|---|
| 29 | enable_python="yes")
|
|---|
| [c015b3] | 30 | AC_MSG_RESULT($enable_python)
|
|---|
| 31 | AS_IF([test x"$enable_python" != x"no"],[
|
|---|
| 32 | # Python (for boost::python)
|
|---|
| 33 | AM_PATH_PYTHON([2.2])
|
|---|
| 34 | AX_PYTHON
|
|---|
| 35 | AC_DEFINE(HAVE_PYTHON,1, ["Build python module and scripts."])
|
|---|
| 36 | ])
|
|---|
| 37 | AM_CONDITIONAL([CONDPYTHON], [test x"$enable_python" != x"no"])
|
|---|
| 38 | AC_SUBST(HAVE_PYTHON)
|
|---|
| 39 |
|
|---|
| 40 | dnl Check if we have enable qtgui
|
|---|
| [e5cec4] | 41 | # Qt programs
|
|---|
| [f99714] | 42 | AC_ARG_WITH(
|
|---|
| 43 | [Qt-bin],
|
|---|
| 44 | [AS_HELP_STRING([--with-Qt-bin], [give path to Qt binaries])],
|
|---|
| [c015b3] | 45 | [have_qtgui_path=$withval
|
|---|
| [f99714] | 46 | enable_qtgui="yes"],
|
|---|
| 47 | have_qtgui_path="")
|
|---|
| [c015b3] | 48 | AC_MSG_CHECKING(whether to enable Qt-based GUI)
|
|---|
| [f99714] | 49 | AC_ARG_ENABLE(
|
|---|
| 50 | [qtgui],
|
|---|
| 51 | AS_HELP_STRING([--enable-qtgui],[turn on Qt GUI compilation [default=yes]]),
|
|---|
| 52 | enable_qtgui=$enableval,
|
|---|
| 53 | enable_qtgui="yes")
|
|---|
| [c015b3] | 54 | AC_MSG_RESULT($enable_qtgui)
|
|---|
| 55 | AS_IF([test x"$enable_qtgui" != x"no"],[
|
|---|
| 56 | AC_PATH_PROGS([QT_MOC],
|
|---|
| [e5cec4] | 57 | [moc-qt4 moc],
|
|---|
| 58 | [AC_MSG_ERROR(["Qts moc not found, please use --with-Qt-bin."])],
|
|---|
| [c015b3] | 59 | [$have_qtgui_path]
|
|---|
| [e5cec4] | 60 | )
|
|---|
| 61 | AC_PATH_PROGS([QT_UIC],
|
|---|
| 62 | [uic-qt4 uic],
|
|---|
| 63 | [AC_MSG_ERROR(["Qts uic not found, please use --with-Qt-bin."])],
|
|---|
| [c015b3] | 64 | [$have_qtgui_path]
|
|---|
| [e5cec4] | 65 | )
|
|---|
| [c015b3] | 66 | PKG_CHECK_MODULES([QT], [QtCore QtGui Qt3D], [
|
|---|
| 67 | ])
|
|---|
| 68 | AC_SUBST([QT_CFLAGS])
|
|---|
| 69 | AC_SUBST([QT_LIBS])
|
|---|
| 70 | AC_DEFINE(HAVE_QTGUI,1, ["Build Qt-based GUI"])
|
|---|
| [e5cec4] | 71 | ])
|
|---|
| [c015b3] | 72 | AM_CONDITIONAL([CONDQTGUI], [test x"$enable_qtgui" != x"no"])
|
|---|
| 73 | AC_SUBST(HAVE_QTGUI)
|
|---|
| [e5cec4] | 74 |
|
|---|
| [ec188c] | 75 | # use doxygen
|
|---|
| 76 | DX_HTML_FEATURE(ON)
|
|---|
| 77 | DX_PS_FEATURE(OFF)
|
|---|
| 78 | DX_PDF_FEATURE(OFF)
|
|---|
| [3158e6] | 79 | DX_INIT_DOXYGEN(MoleCuilder, Doxyfile, ${docdir})
|
|---|
| [ec188c] | 80 |
|
|---|
| 81 | # use libtool
|
|---|
| [a0064e] | 82 | LT_INIT([static])
|
|---|
| [861874] | 83 |
|
|---|
| 84 | # Define these substitions here to keep all version information in one place.
|
|---|
| 85 | # For information on how to properly maintain the library version information,
|
|---|
| 86 | # refer to the libtool manual, section "Updating library version information":
|
|---|
| 87 | # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
|---|
| [d0f3ba] | 88 | AC_SUBST([MOLECUILDER_SO_VERSION], [10:1:0])
|
|---|
| 89 | AC_SUBST([MOLECUILDER_API_VERSION], [1.3.1])
|
|---|
| [06aedc] | 90 |
|
|---|
| [dc031c] | 91 | dnl this macro is used to get the arguments supplied
|
|---|
| 92 | dnl to the configure script (./configure --enable-debug)
|
|---|
| 93 | dnl Check if we have enable debug support.
|
|---|
| 94 | AC_MSG_CHECKING(whether to enable debugging)
|
|---|
| 95 | have_debug="no"
|
|---|
| [f99714] | 96 | AC_ARG_ENABLE(
|
|---|
| 97 | [debug],
|
|---|
| 98 | AS_HELP_STRING([--enable-debug],[turn on debugging [default=no]]),
|
|---|
| 99 | enable_debug=$enableval,
|
|---|
| 100 | enable_debug="no")
|
|---|
| 101 | AC_MSG_RESULT($enable_debug)
|
|---|
| 102 | AS_IF([test x"$enable_debug" = x"yes"],[
|
|---|
| [dc031c] | 103 | AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."])
|
|---|
| 104 | AC_DEFINE(HAVE_DEBUG,1, ["Use debug setting to compile code."])
|
|---|
| 105 | have_debug="yes"
|
|---|
| [f99714] | 106 | ],[
|
|---|
| 107 | AS_IF([test x"$enable_debug" = x"full"],[
|
|---|
| 108 | AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."])
|
|---|
| 109 | AC_DEFINE(LOG_OBSERVER,1, ["Use observer log."])
|
|---|
| 110 | AC_DEFINE(HAVE_DEBUG,2, ["Use debug setting to compile code."])
|
|---|
| 111 | AC_DEFINE(QT_DEBUG,, ["Enable Qt debug messages."])
|
|---|
| 112 | have_debug="full"
|
|---|
| 113 | ],[
|
|---|
| 114 | AC_DEFINE(NDEBUG,1, ["Don't compile in debugging code."])
|
|---|
| 115 | AC_DEFINE(HAVE_DEBUG,0, ["Use debug setting to compile code."])
|
|---|
| 116 | AC_DEFINE(QT_NO_DEBUG,, ["Disable Qt debug messages."])
|
|---|
| 117 | have_debug="no"
|
|---|
| 118 | ])
|
|---|
| 119 | ])
|
|---|
| [dc031c] | 120 | AC_SUBST(HAVE_DEBUG)
|
|---|
| 121 |
|
|---|
| 122 | dnl this macro is used to get the arguments supplied
|
|---|
| 123 | dnl to the configure script (./configure --enable-debug)
|
|---|
| 124 | dnl Check if we have enable debug support.
|
|---|
| [f3b8a5] | 125 | AC_MSG_CHECKING(whether to enable internal caching/lazy evaluation)
|
|---|
| [f99714] | 126 | AC_ARG_ENABLE(
|
|---|
| 127 | [cache],
|
|---|
| 128 | AS_HELP_STRING([--enable-cache],[turn on internal lazy evaluation [default=yes]]),
|
|---|
| 129 | enable_cache=$enableval,
|
|---|
| 130 | enable_cache="yes")
|
|---|
| [f3b8a5] | 131 | AC_MSG_RESULT($enable_cache)
|
|---|
| [f99714] | 132 | AS_IF([test x"$enable_cache" != x"no"],[
|
|---|
| 133 | AC_DEFINE(HAVE_CACHE,1, ["cache variables to speed up the code."])
|
|---|
| 134 | ],[
|
|---|
| [dc031c] | 135 | AC_DEFINE(NO_CACHING,1, ["Don't use caching code."])
|
|---|
| 136 | AC_DEFINE(HAVE_CACHE,0, ["cache variables to speed up the code."])
|
|---|
| [f99714] | 137 | ])
|
|---|
| [dc031c] | 138 | AC_SUBST(HAVE_CACHE)
|
|---|
| 139 |
|
|---|
| [14de469] | 140 | # Checks for libraries.
|
|---|
| [861874] | 141 | AC_CHECK_LIB(m, sqrt, , AC_MSG_ERROR([compatible libc math library not found]))
|
|---|
| [14de469] | 142 |
|
|---|
| [f08ae7] | 143 | # Boost
|
|---|
| [79de12] | 144 | BOOST_REQUIRE([1.40])
|
|---|
| [f08ae7] | 145 |
|
|---|
| 146 | # Boost headers only
|
|---|
| 147 | BOOST_ANY
|
|---|
| [794bc8] | 148 | BOOST_ARRAY
|
|---|
| [f08ae7] | 149 | BOOST_BIND
|
|---|
| 150 | BOOST_CONVERSION
|
|---|
| [79de12] | 151 | BOOST_EXCEPTION
|
|---|
| [f08ae7] | 152 | BOOST_FOREACH
|
|---|
| 153 | BOOST_FUNCTION
|
|---|
| [30c753] | 154 | BOOST_ITERATOR
|
|---|
| [794bc8] | 155 | BOOST_MULTIARRAY
|
|---|
| [f08ae7] | 156 | BOOST_PREPROCESSOR
|
|---|
| 157 | BOOST_RANDOM
|
|---|
| 158 | BOOST_SMART_PTR
|
|---|
| [7f570c] | 159 | BOOST_STRING_ALGO
|
|---|
| [f08ae7] | 160 | BOOST_TOKENIZER
|
|---|
| 161 |
|
|---|
| 162 | # Boost headers with libraries
|
|---|
| [79de12] | 163 | BOOST_FILESYSTEM
|
|---|
| [d920b9] | 164 | BOOST_IOSTREAMS
|
|---|
| [79de12] | 165 | BOOST_PROGRAM_OPTIONS
|
|---|
| [c015b3] | 166 | AS_IF([test x"$enable_python" != x"no"], [BOOST_PYTHON])
|
|---|
| [d7d022] | 167 | BOOST_SERIALIZATION
|
|---|
| [79de12] | 168 | BOOST_THREADS
|
|---|
| [fa861b] | 169 |
|
|---|
| [f08ae7] | 170 |
|
|---|
| [856d05] | 171 | # CodePatterns library (needs boost/exception_ptr.hpp before MemDebug.hpp)
|
|---|
| 172 | AM_PATH_CODEPATTERNS([1.2.3], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])])
|
|---|
| [3027f8] | 173 |
|
|---|
| [004d5c] | 174 | # JobMarket library (needs boost/archive/iserializer.hpp before MemDebug.hpp)
|
|---|
| 175 | AC_ARG_ENABLE(
|
|---|
| 176 | [jobmarket],
|
|---|
| 177 | AS_HELP_STRING([--enable-jobmarket],[turn on JobMarket feature [default=yes]]),
|
|---|
| 178 | enable_jobmarket=$enableval,
|
|---|
| 179 | enable_jobmarket="yes")
|
|---|
| 180 | AC_MSG_RESULT($enable_jobmarket)
|
|---|
| 181 | AS_IF([test x"$enable_jobmarket" != x"no"],[
|
|---|
| [856d05] | 182 | # JobMarket library (needs newer ax_jobmarket.m4 and smaller fixes)
|
|---|
| 183 | AM_PATH_JOBMARKET([1.1.1], $have_debug,[
|
|---|
| [004d5c] | 184 | # the following is only required if we have JobMarket
|
|---|
| 185 | BOOST_ASIO
|
|---|
| 186 | AC_DEFINE(HAVE_JOBMARKET,1, ["use JobMarket to calculate fragment jobs."])
|
|---|
| 187 | ],[
|
|---|
| 188 | enable_jobmarket="no"
|
|---|
| 189 | ])
|
|---|
| 190 | ]
|
|---|
| 191 | #[
|
|---|
| 192 | # AC_DEFINE(HAVE_JOBMARKET,0, ["use JobMarket to calculate fragment jobs."])
|
|---|
| 193 | #]
|
|---|
| 194 | )
|
|---|
| 195 | AC_SUBST(HAVE_JOBMARKET)
|
|---|
| 196 | AM_CONDITIONAL([CONDJOBMARKET], [test x"$enable_jobmarket" = x"yes"])
|
|---|
| [3027f8] | 197 |
|
|---|
| [14de469] | 198 | # Checks for header files.
|
|---|
| 199 | AC_HEADER_STDC
|
|---|
| 200 | AC_CHECK_HEADERS([sys/time.h])
|
|---|
| 201 | AC_HEADER_STDBOOL
|
|---|
| 202 |
|
|---|
| [d3a46d] | 203 | AC_FUNC_MALLOC
|
|---|
| 204 | AC_FUNC_REALLOC
|
|---|
| 205 | AC_CHECK_FUNCS([floor pow sqrt strchr])
|
|---|
| 206 |
|
|---|
| [14de469] | 207 | # Checks for typedefs, structures, and compiler characteristics.
|
|---|
| 208 | AC_C_CONST
|
|---|
| 209 | AC_C_INLINE
|
|---|
| 210 | AC_C_RESTRICT
|
|---|
| 211 | AC_TYPE_SIZE_T
|
|---|
| 212 |
|
|---|
| 213 | # Checks for library functions.
|
|---|
| 214 | # check for GNU Scientific Library
|
|---|
| [bd3e55] | 215 | AC_CHECK_HEADERS([gsl/gsl_blas.h])
|
|---|
| [db1a72] | 216 | AC_SEARCH_LIBS(dnrm2, gslblas gslcblas goto blas cblas)
|
|---|
| 217 | AC_SEARCH_LIBS(cblas_dnrm2, gslblas gslcblas blas cblas)
|
|---|
| 218 | AC_SEARCH_LIBS(gsl_blas_dnrm2,, gsl)
|
|---|
| 219 | #AC_CHECK_LIB(gsl, gsl_blas_dnrm2, , [AC_MSG_ERROR(["No working BLAS found for GSL, stopping."])])
|
|---|
| 220 | AC_CHECK_LIB(gsl, main)
|
|---|
| [14de469] | 221 |
|
|---|
| [490038] | 222 | # use CppUnit TestRunner or not
|
|---|
| [f99714] | 223 | AC_MSG_CHECKING(whether to enable ECut TestRunnerClient)
|
|---|
| 224 | AC_ARG_ENABLE(
|
|---|
| 225 | [ecut],
|
|---|
| 226 | AS_HELP_STRING([--enable-ecut],[Use ECut TestRunnerClient [default=no]]),
|
|---|
| 227 | enable_ecut=$disableval,
|
|---|
| 228 | enable_ecut="no")
|
|---|
| 229 | AC_MSG_RESULT($enable_ecut)
|
|---|
| 230 | AS_IF([test x"$enable_ecut" = x"yes"],[
|
|---|
| [9b6b2f] | 231 | AC_DEFINE(HAVE_ECUT,1, ["Use ECut TestRunnerClient instead of our own."])
|
|---|
| 232 | AC_SUBST(HAVE_ECUT)
|
|---|
| [f99714] | 233 | ])
|
|---|
| [fbbcde] | 234 | AM_CONDITIONAL([CONDECUT], [test x"$enable_ecut" = x"yes"])
|
|---|
| [9b6b2f] | 235 |
|
|---|
| [490038] | 236 | # with valgrinding testsuite or not
|
|---|
| [f3b8a5] | 237 | AC_MSG_CHECKING(whether to enable valgrind memory checking in testsuite)
|
|---|
| [f99714] | 238 | AC_ARG_ENABLE(
|
|---|
| 239 | [valgrind],
|
|---|
| 240 | AS_HELP_STRING([--enable-valgrind],[Use Valgrind on the testsuite [default=no]]),
|
|---|
| 241 | enable_valgrind=$enableval,
|
|---|
| 242 | enable_valgrind="no")
|
|---|
| 243 | AC_MSG_RESULT($enable_valgrind)
|
|---|
| 244 | AS_IF([test x"$enable_valgrind" = x"yes"], [
|
|---|
| [490038] | 245 | AC_CHECK_HEADER([valgrind/valgrind.h],
|
|---|
| 246 | [
|
|---|
| 247 | # check header
|
|---|
| 248 | AC_DEFINE(HAVE_VALGRIND_TESTSUITE,1, ["Use Valgrind to check the testsuite."])
|
|---|
| 249 | # check path
|
|---|
| 250 | AC_PATH_PROG(VALGRIND, [valgrind], [/bin/false])
|
|---|
| 251 | # set variables
|
|---|
| 252 | AC_SUBST(HAVE_VALGRIND_TESTSUITE)
|
|---|
| 253 | AC_SUBST(VALGRIND)
|
|---|
| 254 | ],
|
|---|
| 255 | [
|
|---|
| 256 | AC_MSG_ERROR(["Valgrind support requested but headers not available."])
|
|---|
| 257 | ]
|
|---|
| 258 | )
|
|---|
| [f3b8a5] | 259 | ])
|
|---|
| [490038] | 260 |
|
|---|
| [14de469] | 261 | # Check for "extern inline", using a modified version
|
|---|
| 262 | # of the test for AC_C_INLINE from acspecific.mt
|
|---|
| 263 | AC_CACHE_CHECK([for extern inline], ac_cv_c_extern_inline,
|
|---|
| 264 | [ac_cv_c_extern_inline=no
|
|---|
| 265 | AC_TRY_COMPILE([extern $ac_cv_c_inline double foo(double x);
|
|---|
| 266 | extern $ac_cv_c_inline double foo(double x) { return x+1.0; };
|
|---|
| 267 | double foo (double x) { return x + 1.0; };],
|
|---|
| 268 | [ foo(1.0) ],
|
|---|
| 269 | [ac_cv_c_extern_inline="yes"])
|
|---|
| 270 | ])
|
|---|
| 271 |
|
|---|
| 272 | if test "$ac_cv_c_inline" != no ; then
|
|---|
| 273 | AC_DEFINE(HAVE_INLINE,1, ["May use inline routines"])
|
|---|
| 274 | AC_SUBST(HAVE_INLINE)
|
|---|
| 275 | fi
|
|---|
| 276 |
|
|---|
| [bd3e55] | 277 | #AC_MSG_NOTICE(["CFLAGS: $CFLAGS, CXXFLAGS: $CXXFLAGS, LDFLAGS: $LDFLAGS, CC: $CC, CXX:, $CXX, MPICC: $MPICC, MPILIBS: $MPILIBS, LIBS: $LIBS"])
|
|---|
| [a19da5d] | 278 |
|
|---|
| [0ca39c] | 279 | # test suite
|
|---|
| [878044] | 280 |
|
|---|
| [5079a0] | 281 | AC_CONFIG_FILES([
|
|---|
| [689639] | 282 | tests/Makefile])
|
|---|
| 283 |
|
|---|
| 284 | AC_CONFIG_TESTDIR(tests/CodeChecks)
|
|---|
| [d0a719] | 285 | AC_CONFIG_FILES([
|
|---|
| 286 | tests/CodeChecks/atlocal
|
|---|
| 287 | tests/CodeChecks/Makefile])
|
|---|
| [689639] | 288 |
|
|---|
| [740d40] | 289 | AC_CONFIG_TESTDIR(tests/Fragmentations)
|
|---|
| [038713] | 290 | AC_CONFIG_FILES([
|
|---|
| [740d40] | 291 | tests/Fragmentations/atlocal
|
|---|
| 292 | tests/Fragmentations/Makefile])
|
|---|
| [878044] | 293 | AC_CONFIG_FILES([tests/Fragmentations/analyzer], [chmod +x tests/Fragmentations/analyzer])
|
|---|
| 294 | AC_CONFIG_FILES([tests/Fragmentations/joiner], [chmod +x tests/Fragmentations/joiner])
|
|---|
| [740d40] | 295 | AC_CONFIG_FILES([tests/Fragmentations/molecuilder], [chmod +x tests/Fragmentations/molecuilder])
|
|---|
| [689639] | 296 |
|
|---|
| [004d5c] | 297 | AC_CONFIG_TESTDIR(tests/JobMarket)
|
|---|
| 298 | AC_CONFIG_FILES([
|
|---|
| 299 | tests/JobMarket/atlocal
|
|---|
| 300 | tests/JobMarket/Makefile])
|
|---|
| 301 | AC_CONFIG_FILES([tests/JobMarket/molecuilder], [chmod +x tests/JobMarket/molecuilder])
|
|---|
| 302 |
|
|---|
| [689639] | 303 | AC_CONFIG_TESTDIR(tests/regression)
|
|---|
| 304 | AC_CONFIG_FILES([
|
|---|
| 305 | tests/regression/atlocal
|
|---|
| 306 | tests/regression/Makefile])
|
|---|
| 307 | AC_CONFIG_FILES([tests/regression/molecuilder], [chmod +x tests/regression/molecuilder])
|
|---|
| 308 |
|
|---|
| 309 | AC_CONFIG_TESTDIR(tests/Tesselations)
|
|---|
| [5079a0] | 310 | AC_CONFIG_FILES([
|
|---|
| [a85f45] | 311 | tests/Tesselations/atlocal
|
|---|
| 312 | tests/Tesselations/Makefile])
|
|---|
| 313 | AC_CONFIG_FILES([tests/Tesselations/molecuilder], [chmod +x tests/Tesselations/molecuilder])
|
|---|
| [689639] | 314 |
|
|---|
| [5079a0] | 315 | AC_CONFIG_FILES([
|
|---|
| 316 | doc/molecuilder.xml])
|
|---|
| [861874] | 317 | AC_CONFIG_FILES([
|
|---|
| [878044] | 318 | MoleCuilder.pc:MoleCuilder.pc.in])
|
|---|
| [5079a0] | 319 | AC_CONFIG_FILES([
|
|---|
| 320 | Makefile
|
|---|
| [ec188c] | 321 | doc/Makefile
|
|---|
| [938ffd] | 322 | src/Makefile
|
|---|
| [04e1fb] | 323 | utils/Makefile
|
|---|
| [85949a] | 324 | ])
|
|---|
| 325 | AC_CONFIG_FILES([
|
|---|
| [878044] | 326 | src/unittests/Makefile
|
|---|
| [85949a] | 327 | ])
|
|---|
| [d0b3aca] | 328 |
|
|---|
| [c015b3] | 329 | # produce python scripts and tests only when python's present
|
|---|
| 330 | AM_COND_IF([CONDPYTHON],[
|
|---|
| 331 | AC_CONFIG_TESTDIR([tests/Python])
|
|---|
| [9fd196] | 332 | AC_CONFIG_FILES([utils/Python/boxmaker.py:utils/Python/boxmaker.py.in], [chmod +x utils/Python/boxmaker.py])
|
|---|
| 333 | AC_CONFIG_FILES([utils/Python/python_wrapper:utils/Python/python_wrapper.in], [chmod +x utils/Python/python_wrapper])
|
|---|
| [c015b3] | 334 | AC_CONFIG_FILES([tests/Python/run], [chmod +x tests/Python/run])
|
|---|
| 335 | AC_CONFIG_FILES([tests/Python/atlocal])
|
|---|
| 336 | AC_CONFIG_FILES([tests/Python/Makefile])
|
|---|
| 337 | ])
|
|---|
| [d0b3aca] | 338 |
|
|---|
| [14de469] | 339 | AC_OUTPUT
|
|---|