source: util/configure.ac@ 057b77

Last change on this file since 057b77 was e1a46d, checked in by Frederik Heber <heber@…>, 16 years ago

All of my python script put into ESPACK and adapted with @PYTHON@ and so on.

  • Property mode set to 100755
File size: 3.0 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.
12AC_PROG_CC
13AC_PROG_CXX
14AC_PATH_PROG([PERL],[perl])
15AC_PATH_PROG([PYTHON],[python])
16AC_PATH_PROG([SHELL],[sh])
17AC_PROG_AWK
18AM_MISSING_PROG([DOXYGEN], [doxygen])
19
20# Checks for header files.
21AC_HEADER_STDC
22AC_CHECK_HEADERS([stdlib.h string.h])
23
24# Checks for typedefs, structures, and compiler characteristics.
25AC_C_CONST
26AC_TYPE_SIZE_T
27
28# Checks for library functions.
29AC_FUNC_MALLOC
30AC_FUNC_REALLOC
31AC_CHECK_LIB(m, sqrt, ,AC_MSG_ERROR([compatible libc math library not found]))
32# check for GNU Scientific Library
33AC_CHECK_HEADERS([gsl/gsl_blas.h])
34AC_SEARCH_LIBS(dnrm2, goto blas cblas gslblas gslcblas)
35AC_CHECK_LIB(gsl, main, [],
36 [AC_SEARCH_LIBS(cblas_dnrm2, blas cblas gslblas gslcblas)])
37AC_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
42AC_CONFIG_TESTDIR(tests)
43AC_CONFIG_FILES([tests/atlocal tests/Makefile])
44AC_CONFIG_FILES([tests/NanoCreator], [chmod +x tests/NanoCreator])
45
46AC_CHECK_FUNCS([pow sqrt strchr strrchr strstr])
47AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile])
48AC_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 ])
83AC_CONFIG_FILES([src/Nanotubes.pl \
84 src/ReSequenceDX.pl \
85 src/BOSSMatcher.pl \
86 ])
87AC_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])
102AC_OUTPUT
103
Note: See TracBrowser for help on using the repository browser.