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