source: configure.ac@ b8b2e6

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since b8b2e6 was 574d377, checked in by Frederik Heber <heber@…>, 9 years ago

Using static Observable::..NotificationsChannel() functions.

  • Property mode set to 100644
File size: 15.6 KB
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ(2.59)
5AC_INIT(MoleCuilder, 1.4.12, [heber@ins.uni-bonn.de], [molecuilder], [http://trac.ins.uni-bonn.de/projects/molecuilder/])
6AC_CONFIG_AUX_DIR([build-aux])
7AC_CONFIG_SRCDIR([src/builder.cpp])
8AC_CONFIG_HEADER([config.h libmolecuilder_config.h])
9AC_CONFIG_MACRO_DIR([m4])
10AC_CONFIG_SUBDIRS([LinearAlgebra])
11
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)
15AM_INIT_AUTOMAKE([dist-bzip2 1.5 parallel-tests color-tests tar-pax subdir-objects])
16
17# Checks for programs.
18AC_PROG_CXX
19AC_PROG_INSTALL
20
21# check for cppunit (taken from svn.apache.org/../xmlbeanscxx)
22AM_PATH_CPPUNIT(1.9.6)
23AM_CONDITIONAL(CONDCPPUNIT, test "$CPPUNIT_LIBS")
24
25dnl Check if we have enable python
26# python module
27AC_MSG_CHECKING(whether to enable python module)
28AC_ARG_ENABLE(
29 [python],
30 AS_HELP_STRING([--enable-python],[turn on python module [default=yes]]),
31 enable_python=$enableval,
32 enable_python="yes")
33AC_MSG_RESULT($enable_python)
34AS_IF([test x"$enable_python" != x"no"],[
35 # Python (for boost::python)
36 AM_PATH_PYTHON([2.2])
37 AX_PYTHON
38 AC_DEFINE(HAVE_PYTHON,1, ["Build python module and scripts."])
39])
40AM_CONDITIONAL([CONDPYTHON], [test x"$enable_python" != x"no"])
41AC_SUBST(HAVE_PYTHON)
42
43dnl Check whether no extra thread for ActionQueue shall be used
44AC_MSG_CHECKING(whether to enable ActionQueue's run thread)
45AC_ARG_ENABLE(
46 [action_thread],
47 AS_HELP_STRING([--enable-action-thread],[turn on extra run thread for ActionQueue [default=yes]]),
48 enable_action_thread=$enableval,
49 enable_action_thread="no"
50)
51AC_MSG_RESULT($enable_action_thread)
52AS_IF([test x"$enable_action_thread" != x"no"],[
53 AC_DEFINE(HAVE_ACTION_THREAD,1, ["Have extra run thread for ActionQueue."])
54])
55AM_CONDITIONAL([CONDACTIONTHREAD], [test x"$enable_action_thread" != x"no"])
56AC_SUBST(HAVE_ACTION_THREAD)
57
58dnl Check if we have enable qtgui
59# Qt programs
60AC_MSG_CHECKING(whether to enable Qt-based GUI)
61AC_ARG_ENABLE(
62 [qtgui],
63 AS_HELP_STRING([--enable-qtgui],[turn on Qt GUI compilation [default=yes]]),
64 enable_qtgui=$enableval,
65 enable_qtgui="yes")
66AC_MSG_RESULT($enable_qtgui)
67AS_IF([test x"$enable_qtgui" != x"no"],[
68 AC_ARG_WITH(
69 [Qt-bin],
70 [AS_HELP_STRING([--with-Qt-bin], [give path to Qt binaries])],
71 [have_qtgui_path=$withval],
72 have_qtgui_path="")
73 AC_PATH_PROGS([QT_MOC],
74 [moc-qt4 moc],
75 [AC_MSG_ERROR(["Qts moc not found, please use --with-Qt-bin."])],
76 [$have_qtgui_path]
77 )
78 AC_PATH_PROGS([QT_RCC],
79 [rcc-qt4 rcc],
80 [AC_MSG_ERROR(["Qts rcc not found, please use --with-Qt-bin."])],
81 [$have_qtgui_path]
82 )
83 AC_PATH_PROGS([QT_UIC],
84 [uic-qt4 uic],
85 [AC_MSG_ERROR(["Qts uic not found, please use --with-Qt-bin."])],
86 [$have_qtgui_path]
87 )
88 PKG_CHECK_MODULES([QT], [QtCore QtGui Qt3D], [
89 ])
90 AC_SUBST([QT_CFLAGS])
91 AC_SUBST([QT_LIBS])
92 AC_DEFINE(HAVE_QTGUI,1, ["Build Qt-based GUI"])
93])
94AM_CONDITIONAL([CONDQTGUI], [test x"$enable_qtgui" != x"no"])
95AC_SUBST(HAVE_QTGUI)
96
97# check additionally for QWT to enable plotting of potentials
98AC_MSG_CHECKING(whether to enable Qwt-based plotting)
99#enable_qwt=yes
100AC_ARG_ENABLE(
101 [qwt],
102 AS_HELP_STRING([--enable-qwt],[turn on Qwt compilation [default=yes]]),
103 enable_qwt=$enableval,
104 enable_qwt="yes")
105AC_MSG_RESULT($enable_qwt)
106AS_IF([test x"$enable_qwt" != x"no"],[
107 MOL_AC_HAVE_QWT_IFELSE(
108 [
109 enable_qwt=yes
110 AC_DEFINE(HAVE_QWT,1, ["Build Qwt-based plotting"])
111 ],
112 [
113 enable_qwt=no
114 AC_MSG_WARN([Qwt not found, disabling plotting in QtUI.])
115 ]
116 )
117])
118AM_CONDITIONAL([CONDQWT], [test x"$enable_qwt" != x"no"])
119AC_SUBST(HAVE_QWT)
120
121# use doxygen
122DX_HTML_FEATURE(ON)
123DX_PS_FEATURE(OFF)
124DX_PDF_FEATURE(OFF)
125DX_INIT_DOXYGEN(MoleCuilder, Doxyfile, ${docdir})
126
127# use docbook
128AX_CHECK_DOCBOOK
129
130# use libtool
131LT_INIT([static])
132
133# Define these substitions here to keep all version information in one place.
134# For information on how to properly maintain the library version information,
135# refer to the libtool manual, section "Updating library version information":
136# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
137AC_SUBST([MOLECUILDER_SO_VERSION], [14:4:1])
138AC_SUBST([MOLECUILDER_API_VERSION], [1.4.12])
139
140dnl this macro is used to get the arguments supplied
141dnl to the configure script (./configure --enable-debug)
142dnl Check if we have enable debug support.
143AC_MSG_CHECKING(whether to enable debugging)
144have_debug="no"
145AC_ARG_ENABLE(
146 [debug],
147 AS_HELP_STRING([--enable-debug],[turn on debugging [default=no]]),
148 enable_debug=$enableval,
149 enable_debug="no")
150AC_MSG_RESULT($enable_debug)
151AS_IF([test x"$enable_debug" = x"yes"],[
152 AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."])
153 AC_DEFINE(HAVE_DEBUG,1, ["Use debug setting to compile code."])
154 have_debug="yes"
155],[
156 AS_IF([test x"$enable_debug" = x"full"],[
157 AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."])
158 AC_DEFINE(LOG_OBSERVER,1, ["Use observer log."])
159 AC_DEFINE(HAVE_DEBUG,2, ["Use debug setting to compile code."])
160 dnl AC_DEFINE(QT_DEBUG,, ["Enable Qt debug messages."])
161 have_debug="full"
162 ],[
163 AC_DEFINE(NDEBUG,1, ["Don't compile in debugging code."])
164 AC_DEFINE(HAVE_DEBUG,0, ["Use debug setting to compile code."])
165 AC_DEFINE(QT_NO_DEBUG_OUTPUT,, ["Disable Qt debug messages."])
166 have_debug="no"
167 ])
168])
169AC_SUBST(HAVE_DEBUG)
170
171dnl this macro is used to get the arguments supplied
172dnl to the configure script (./configure --enable-debug)
173dnl Check if we have enable debug support.
174AC_MSG_CHECKING(whether to enable internal caching/lazy evaluation)
175AC_ARG_ENABLE(
176 [cache],
177 AS_HELP_STRING([--enable-cache],[turn on internal lazy evaluation [default=yes]]),
178 enable_cache=$enableval,
179 enable_cache="yes")
180AC_MSG_RESULT($enable_cache)
181AS_IF([test x"$enable_cache" != x"no"],[
182 AC_DEFINE(HAVE_CACHE,1, ["cache variables to speed up the code."])
183],[
184 AC_DEFINE(NO_CACHING,1, ["Don't use caching code."])
185 AC_DEFINE(HAVE_CACHE,0, ["cache variables to speed up the code."])
186])
187AC_SUBST(HAVE_CACHE)
188
189# Checks for libraries.
190AC_CHECK_LIB(m, sqrt, , AC_MSG_ERROR([compatible libc math library not found]))
191
192# Pthreads
193ACX_PTHREAD()
194
195# Boost
196BOOST_REQUIRE([1.40])
197
198# Boost headers only
199BOOST_ANY
200BOOST_ARRAY
201BOOST_BIMAP
202BOOST_BIND
203BOOST_CAST
204BOOST_CONVERSION
205BOOST_EXCEPTION
206BOOST_FOREACH
207BOOST_FUNCTION
208BOOST_FUSION
209BOOST_GRAPH
210BOOST_ITERATOR
211BOOST_MULTIARRAY
212BOOST_MULTIINDEXCONTAINER
213BOOST_MPL
214BOOST_PREPROCESSOR
215BOOST_RANDOM
216BOOST_SMART_PTR
217BOOST_STRING_ALGO
218BOOST_TOKENIZER
219
220# Boost headers with libraries
221BOOST_FILESYSTEM
222BOOST_IOSTREAMS
223BOOST_PROGRAM_OPTIONS
224AS_IF([test x"$enable_python" != x"no"], [BOOST_PYTHON])
225BOOST_SERIALIZATION
226BOOST_THREADS
227
228
229# CodePatterns library (requiring ObservedValue.hpp)
230AM_PATH_CODEPATTERNS([1.3.0], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])])
231
232# JobMarket library (needs boost/archive/iserializer.hpp before MemDebug.hpp)
233AC_MSG_CHECKING(whether to enable jobmarket)
234AC_ARG_ENABLE(
235 [jobmarket],
236 AS_HELP_STRING([--enable-jobmarket],[turn on JobMarket feature [default=yes]]),
237 enable_jobmarket=$enableval,
238 enable_jobmarket="yes")
239AC_MSG_RESULT($enable_jobmarket)
240AS_IF([test x"$enable_jobmarket" != x"no"],[
241 # JobMarket library (needs SystemCommandJob with suffix)
242 AM_PATH_JOBMARKET([1.1.5], $have_debug,[
243 # the following is only required if we have JobMarket
244 BOOST_ASIO
245 AC_DEFINE(HAVE_JOBMARKET,1, ["use JobMarket to calculate fragment jobs."])
246 ],[
247 enable_jobmarket="no"
248 ])
249]
250#[
251# AC_DEFINE(HAVE_JOBMARKET,0, ["use JobMarket to calculate fragment jobs."])
252#]
253)
254AC_SUBST(HAVE_JOBMARKET)
255AM_CONDITIONAL([CONDJOBMARKET], [test x"$enable_jobmarket" = x"yes"])
256
257# VMG library
258AC_MSG_CHECKING(whether to compile in long-range support via VMG)
259AC_ARG_ENABLE(
260 [vmg],
261 [AS_HELP_STRING([--enable-vmg], [turn on long-range potential calculation via VMG [default=no]])],
262 [enable_vmg=$enableval],
263 enable_vmg="no")
264AC_MSG_RESULT($enable_vmg)
265AS_IF([test x"$enable_vmg" != x"no"],[
266 PKG_CHECK_MODULES(VMG, VMG >= 0.1)
267 AC_SUBST(VMG_CFLAGS)
268 AC_SUBST(VMG_LIBS)
269 AC_DEFINE(HAVE_VMG,1, ["use VMG to calculate long-range contributions."])
270
271 # check whether to use mpi
272 AC_ARG_WITH(
273 [vmg-mpi],
274 [AS_HELP_STRING([--with-vmg-mpi], [whether to use MPI for communication in VMGJobs])],
275 [with_vmg_mpi=yes],
276 [with_vmg_mpi=no])
277 AS_IF(
278 [test "x$with_vmg_mpi" != xno],
279 [
280 AC_LANG_SAVE
281 AC_LANG_CPLUSPLUS
282 LX_FIND_MPI
283 AC_LANG_RESTORE
284 AS_IF([test "x$have_CXX_mpi" = xyes],[
285 AC_DEFINE([MPICH_SKIP_MPICXX], [1], [Skip C++ bindings])
286 AC_DEFINE([OMPI_SKIP_MPICXX], [1], [Skip C++ bindings])
287 AC_DEFINE([MPI_NO_CPPBIND], [1], [Skip C++ bindings])
288 AC_DEFINE([_MPICC_H], [1], [Skip C++ bindings])
289 AC_DEFINE([MPIBULL_SKIP_MPICXX], [1], [Skip C++ bindings])
290 ])
291 ],
292 [])
293])
294AM_CONDITIONAL([CONDVMG], [test x"$enable_vmg" = x"yes"])
295AM_CONDITIONAL([CONDVMGMPI], [test x"$have_CXX_mpi" = x"yes"])
296
297
298# Check for Levenberg-Marquardt implementation
299AC_MSG_CHECKING(whether to enable function fitting via levmar)
300AC_ARG_ENABLE(
301 [levmar],
302 AS_HELP_STRING([--enable-levmar],[turn on LevMar feature [default=no]]),
303 enable_levmar=$enableval,
304 enable_levmar="no")
305AC_MSG_RESULT($enable_levmar)
306# don't use AS_IF here as it expands (and tests) AC_F77_FUN evene if levmar
307# is disabled.
308if test x"$enable_levmar" = x"yes"; then
309 AX_LAPACK([enable_levmar=yes],[enable_levmar=no])
310fi
311AS_IF([test x"$enable_levmar" = x"yes"],[
312 AC_ARG_WITH(
313 [levmar],
314 [AS_HELP_STRING([--with-levmar], [give path to LevMar package])],
315 [have_levmar_path=$withval],
316 [enable_levmar=no])
317 ],[enable_levmar=no])
318AS_IF([test x"$enable_levmar" = x"yes"],[
319 LEVMAR_CPPFLAGS="-I${have_levmar_path}/include"
320 LEVMAR_LDFLAGS="-L${have_levmar_path}/lib"
321 LEVMAR_LIBS="-llevmar"
322 AC_SUBST(LEVMAR_CPPFLAGS)
323 AC_SUBST(LEVMAR_LDFLAGS)
324 AC_SUBST(LEVMAR_LIBS)
325 AC_DEFINE(HAVE_LEVMAR,1, ["use levmar for non-linear minimisation/potential fitting."])
326 ],[AC_MSG_WARN(["Missing LAPACK, disabling off levmar"])])
327AM_CONDITIONAL([CONDLEVMAR], [test x"$enable_levmar" = x"yes"])
328
329# Checks for header files.
330AC_HEADER_STDC
331AC_CHECK_HEADERS([sys/time.h])
332AC_HEADER_STDBOOL
333
334AC_FUNC_MALLOC
335AC_FUNC_REALLOC
336AC_CHECK_FUNCS([floor pow sqrt strchr])
337
338# Checks for typedefs, structures, and compiler characteristics.
339AC_C_CONST
340AC_C_INLINE
341AC_C_RESTRICT
342AC_TYPE_SIZE_T
343
344# Checks for library functions.
345# check for GNU Scientific Library
346AC_CHECK_HEADERS([gsl/gsl_blas.h])
347AC_SEARCH_LIBS(dnrm2, gslblas gslcblas goto blas cblas)
348AC_SEARCH_LIBS(cblas_dnrm2, gslblas gslcblas blas cblas)
349AC_SEARCH_LIBS(gsl_blas_dnrm2,, gsl)
350#AC_CHECK_LIB(gsl, gsl_blas_dnrm2, , [AC_MSG_ERROR(["No working BLAS found for GSL, stopping."])])
351AC_CHECK_LIB(gsl, main)
352
353# use CppUnit TestRunner or not
354AC_MSG_CHECKING(whether to enable ECut TestRunnerClient)
355AC_ARG_ENABLE(
356 [ecut],
357 AS_HELP_STRING([--enable-ecut],[Use ECut TestRunnerClient [default=no]]),
358 enable_ecut=$disableval,
359 enable_ecut="no")
360AC_MSG_RESULT($enable_ecut)
361AS_IF([test x"$enable_ecut" = x"yes"],[
362 AC_DEFINE(HAVE_ECUT,1, ["Use ECut TestRunnerClient instead of our own."])
363 AC_SUBST(HAVE_ECUT)
364])
365AM_CONDITIONAL([CONDECUT], [test x"$enable_ecut" = x"yes"])
366
367# with valgrinding testsuite or not
368AC_MSG_CHECKING(whether to enable valgrind memory checking in testsuite)
369AC_ARG_ENABLE(
370 [valgrind],
371 AS_HELP_STRING([--enable-valgrind],[Use Valgrind on the testsuite [default=no]]),
372 enable_valgrind=$enableval,
373 enable_valgrind="no")
374AC_MSG_RESULT($enable_valgrind)
375AS_IF([test x"$enable_valgrind" = x"yes"], [
376 AC_CHECK_HEADER([valgrind/valgrind.h],
377 [
378 # check header
379 AC_DEFINE(HAVE_VALGRIND_TESTSUITE,1, ["Use Valgrind to check the testsuite."])
380 # check path
381 AC_PATH_PROG(VALGRIND, [valgrind], [/bin/false])
382 # set variables
383 AC_SUBST(HAVE_VALGRIND_TESTSUITE)
384 AC_SUBST(VALGRIND)
385 ],
386 [
387 AC_MSG_ERROR(["Valgrind support requested but headers not available."])
388 ]
389 )
390])
391
392# Check for "extern inline", using a modified version
393# of the test for AC_C_INLINE from acspecific.mt
394AC_CACHE_CHECK([for extern inline], ac_cv_c_extern_inline,
395[ac_cv_c_extern_inline=no
396AC_TRY_COMPILE([extern $ac_cv_c_inline double foo(double x);
397extern $ac_cv_c_inline double foo(double x) { return x+1.0; };
398double foo (double x) { return x + 1.0; };],
399[ foo(1.0) ],
400[ac_cv_c_extern_inline="yes"])
401])
402
403if test "$ac_cv_c_inline" != no ; then
404 AC_DEFINE(HAVE_INLINE,1, ["May use inline routines"])
405 AC_SUBST(HAVE_INLINE)
406fi
407
408#AC_MSG_NOTICE(["CFLAGS: $CFLAGS, CXXFLAGS: $CXXFLAGS, LDFLAGS: $LDFLAGS, CC: $CC, CXX:, $CXX, MPICC: $MPICC, MPILIBS: $MPILIBS, LIBS: $LIBS"])
409
410# test suite
411
412AC_CONFIG_FILES([
413 tests/Makefile])
414
415AC_CONFIG_TESTDIR(tests/Calculations)
416AC_CONFIG_FILES([
417 tests/Calculations/atlocal
418 tests/Calculations/Makefile])
419AC_CONFIG_FILES([tests/Calculations/molecuilder], [chmod +x tests/Calculations/molecuilder])
420
421AC_CONFIG_TESTDIR(tests/CodeChecks)
422AC_CONFIG_FILES([
423 tests/CodeChecks/atlocal
424 tests/CodeChecks/Makefile])
425
426AC_CONFIG_TESTDIR(tests/Fragmentations)
427AC_CONFIG_FILES([
428 tests/Fragmentations/atlocal
429 tests/Fragmentations/Makefile])
430AC_CONFIG_FILES([tests/Fragmentations/molecuilder], [chmod +x tests/Fragmentations/molecuilder])
431
432AC_CONFIG_TESTDIR(tests/GuiChecks)
433AC_CONFIG_FILES([
434 tests/GuiChecks/atlocal
435 tests/GuiChecks/Makefile])
436AC_CONFIG_FILES([tests/GuiChecks/molecuilder], [chmod +x tests/GuiChecks/molecuilder])
437AC_CONFIG_FILES([tests/GuiChecks/molecuilderguitest], [chmod +x tests/GuiChecks/molecuilderguitest])
438AC_CONFIG_FILES([tests/GuiChecks/adjacencymatcher], [chmod +x tests/GuiChecks/adjacencymatcher])
439AC_CONFIG_FILES([tests/GuiChecks/trianglematcher], [chmod +x tests/GuiChecks/trianglematcher])
440
441AC_CONFIG_TESTDIR(tests/JobMarket)
442AC_CONFIG_FILES([
443 tests/JobMarket/atlocal
444 tests/JobMarket/Makefile])
445AC_CONFIG_FILES([tests/JobMarket/molecuilder], [chmod +x tests/JobMarket/molecuilder])
446
447AC_CONFIG_TESTDIR(tests/regression)
448AC_CONFIG_FILES([
449 tests/regression/atlocal
450 tests/regression/Makefile])
451AC_CONFIG_FILES([tests/regression/molecuilder], [chmod +x tests/regression/molecuilder])
452AC_CONFIG_FILES([tests/regression/adjacencymatcher], [chmod +x tests/regression/adjacencymatcher])
453AC_CONFIG_FILES([tests/regression/trianglematcher], [chmod +x tests/regression/trianglematcher])
454AC_CONFIG_FILES([tests/regression/runpython], [chmod +x tests/regression/runpython])
455
456AC_CONFIG_TESTDIR(tests/Tesselations)
457AC_CONFIG_FILES([
458 tests/Tesselations/atlocal
459 tests/Tesselations/Makefile])
460AC_CONFIG_FILES([tests/Tesselations/molecuilder], [chmod +x tests/Tesselations/molecuilder])
461AC_CONFIG_FILES([tests/Tesselations/trianglematcher], [chmod +x tests/Tesselations/trianglematcher])
462
463AC_CONFIG_FILES([
464 doc/molecuilder.xml])
465AC_CONFIG_FILES([
466 doc/userguide/catalog.xml:doc/userguide/catalog.xml.in])
467AC_CONFIG_FILES([
468 MoleCuilder.pc:MoleCuilder.pc.in])
469AC_CONFIG_FILES([
470 doc/Makefile
471 doc/userguide/Makefile
472])
473AC_CONFIG_FILES([
474 Makefile
475 src/Makefile
476 src/Bond/AdjacencyMatcher/Makefile
477 src/Tesselation/TriangleMatcher/Makefile
478 data/icons/Makefile
479 utils/Makefile
480])
481AC_CONFIG_FILES([
482 src/unittests/Makefile
483])
484
485# produce python scripts and tests only when python's present
486AC_CONFIG_TESTDIR([tests/Python])
487AC_CONFIG_FILES([tests/Python/atlocal])
488AM_COND_IF([CONDPYTHON],[
489 AC_CONFIG_FILES([utils/Python/boxmaker.py:utils/Python/boxmaker.py.in], [chmod +x utils/Python/boxmaker.py])
490 AC_CONFIG_FILES([utils/Python/python_wrapper:utils/Python/python_wrapper.in], [chmod +x utils/Python/python_wrapper])
491 AC_CONFIG_FILES([tests/Python/run], [chmod +x tests/Python/run])
492])
493AC_CONFIG_FILES([tests/Python/Makefile])
494
495AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.