1 | # -*- Autoconf -*-
|
---|
2 | # Process this file with autoconf to produce a configure script.
|
---|
3 |
|
---|
4 | AC_PREREQ(2.59)
|
---|
5 | AC_INIT(PCP_Utilities, 1.0, heber@ins.uni-bonn.de)
|
---|
6 | AC_CONFIG_SRCDIR([src/CreateGaAs.c])
|
---|
7 | AC_CONFIG_HEADER([config.h])
|
---|
8 |
|
---|
9 | AM_INIT_AUTOMAKE
|
---|
10 |
|
---|
11 | # Checks for programs.
|
---|
12 | AC_PROG_CC
|
---|
13 | AC_PROG_CXX
|
---|
14 | AC_PATH_PROG([PERL],[perl])
|
---|
15 | AC_PATH_PROG([PYTHON],[python])
|
---|
16 | AC_PATH_PROG([SHELL],[sh])
|
---|
17 | AC_PROG_AWK
|
---|
18 | AM_MISSING_PROG([DOXYGEN], [doxygen])
|
---|
19 |
|
---|
20 | # Checks for header files.
|
---|
21 | AC_HEADER_STDC
|
---|
22 | AC_CHECK_HEADERS([stdlib.h string.h])
|
---|
23 |
|
---|
24 | # Checks for typedefs, structures, and compiler characteristics.
|
---|
25 | AC_C_CONST
|
---|
26 | AC_TYPE_SIZE_T
|
---|
27 |
|
---|
28 | # Checks for library functions.
|
---|
29 | AC_FUNC_MALLOC
|
---|
30 | AC_FUNC_REALLOC
|
---|
31 | AC_CHECK_LIB(m, sqrt, ,AC_MSG_ERROR([compatible libc math library not found]))
|
---|
32 | # check for GNU Scientific Library
|
---|
33 | AC_CHECK_HEADERS([gsl/gsl_blas.h])
|
---|
34 | AC_SEARCH_LIBS(dnrm2, goto blas cblas gslblas gslcblas)
|
---|
35 | AC_CHECK_LIB(gsl, main, [],
|
---|
36 | [AC_SEARCH_LIBS(cblas_dnrm2, blas cblas gslblas gslcblas)])
|
---|
37 | AC_CHECK_LIB(gsl, gsl_blas_dnrm2, , [AC_MSG_ERROR(["No working BLAS found for GSL, stopping."])])
|
---|
38 |
|
---|
39 | #AC_MSG_NOTICE(["CFLAGS: $CFLAGS, CXXFLAGS: $CXXFLAGS, LDFLAGS: $LDFLAGS, CC: $CC, CXX:, $CXX, MPICC: $MPICC, MPILIBS: $MPILIBS, LIBS: $LIBS"])
|
---|
40 |
|
---|
41 | # test suite
|
---|
42 | AC_CONFIG_TESTDIR(tests)
|
---|
43 | AC_CONFIG_FILES([tests/atlocal tests/Makefile])
|
---|
44 | AC_CONFIG_FILES([tests/NanoCreator], [chmod +x tests/NanoCreator])
|
---|
45 |
|
---|
46 | AC_CHECK_FUNCS([pow sqrt strchr strrchr strstr])
|
---|
47 | AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile])
|
---|
48 | AC_CONFIG_FILES([src/AnalysePASFromEllipsoids.py \
|
---|
49 | src/AnalyseStressResults.py
|
---|
50 | src/Animate.py \
|
---|
51 | src/AnimateStereo.py \
|
---|
52 | src/CalculateDensity.py \
|
---|
53 | src/CalculatePairCorrelation.py \
|
---|
54 | src/CalculateSurfaceOfCluster.py \
|
---|
55 | src/CalculateXRayFromPDBstep.py \
|
---|
56 | src/CreateNeighboursForTIP3.py \
|
---|
57 | src/convertHessianMPQC2PCP.py \
|
---|
58 | src/convertMPQCout2pcp.py \
|
---|
59 | src/convertPCP2MPQC.py \
|
---|
60 | src/convertXDataToXYData.py \
|
---|
61 | src/CreateAllVspeShapes.py \
|
---|
62 | src/CreateVspeShapes.py \
|
---|
63 | src/CutBlockFromPDB.py \
|
---|
64 | src/FindInnerPointsinBB.py \
|
---|
65 | src/FindNonTriplesTIP3.py \
|
---|
66 | src/GetBondedPairs.py \
|
---|
67 | src/GetBondsFromPDB.py \
|
---|
68 | src/GetIDsOfBorderAtoms.py \
|
---|
69 | src/LinearlyInterpolateBetweenPCPConfigs.py \
|
---|
70 | src/OutputRaster3DHeader.py \
|
---|
71 | src/PairCorrelationTIP3toResiduum.py \
|
---|
72 | src/PairCorrelationToCluster.py \
|
---|
73 | src/PairCorrelationToClusterSurface.py \
|
---|
74 | src/PrepareStoneWalesDefects.py \
|
---|
75 | src/ReduceDBondFiletoSubset.py \
|
---|
76 | src/ReMapDBondFileFromXYZ.py \
|
---|
77 | src/ReMapDBondFile.py \
|
---|
78 | src/RemoveConvexPart.py \
|
---|
79 | src/RemoveRandomAtoms.py \
|
---|
80 | src/RestorePDBfromGrape.py \
|
---|
81 | src/ShiftPeriodic.py \
|
---|
82 | ])
|
---|
83 | AC_CONFIG_FILES([src/Nanotubes.pl \
|
---|
84 | src/ReSequenceDX.pl \
|
---|
85 | src/BOSSMatcher.pl \
|
---|
86 | ])
|
---|
87 | AC_CONFIG_FILES([src/average_result.sh \
|
---|
88 | src/AdaptiveANOVA.sh \
|
---|
89 | src/CalculateDensityfromConfig.sh \
|
---|
90 | src/CalculateMass.sh \
|
---|
91 | src/CreateFromXYZ.sh \
|
---|
92 | src/config2xyz.sh \
|
---|
93 | src/convert2old.sh \
|
---|
94 | src/convertpdb.sh \
|
---|
95 | src/dynamicANOVA.sh \
|
---|
96 | src/gather_all_results.sh \
|
---|
97 | src/gather_averaged_results.sh \
|
---|
98 | src/gather_result.sh \
|
---|
99 | src/grep_shielding.sh \
|
---|
100 | src/meas2pdb.sh \
|
---|
101 | src/SortByRings.sh])
|
---|
102 | AC_OUTPUT
|
---|
103 |
|
---|