source: util/configure.ac@ f70c2a

Last change on this file since f70c2a was 5a84ee, checked in by Frederik Heber <heber@…>, 16 years ago

Rewrite of average.cpp and added first UnitTest.

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