source: util/configure.ac@ 7670cab

Last change on this file since 7670cab was 0ab37b, checked in by Frederik Heber <heber@…>, 17 years ago

new helper BOSSMatcher compares config files against results to check for messes in the order.

Compares coordinates in pcp.forces.all against those in the config file to check whether BondFragment01.conf and BondFragment01/ are really still the same.

  • Property mode set to 100644
File size: 2.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_PROG_AWK
16AM_MISSING_PROG([DOXYGEN], [doxygen])
17
18AC_ARG_ENABLE([debug],AS_HELP_STRING([--enable-debug],[debugging level of compiler. Argument is yes or debugging level. (default is no)]),
19 [enable_debugging=$enableval], [enable_debugging=no])
20AC_ARG_ENABLE([optimization],AS_HELP_STRING([--enable-optimization],[Optimization level of compiler. Argument is yes or optimization. (default is 2)]),
21 [enable_optimization=$enableval], [enable_optimization=2])
22AC_ARG_ENABLE([warnings], AS_HELP_STRING([--enable-warnings],[Output compiler warnings, argument is none, some or full (default is some).]),
23 [enable_warnings=$enableval], [enable_warnings=some])
24AC_SET_COMPILER_FLAGS([$enable_optimization], [$enable_debugging], [$enable_warnings])
25
26# Checks for header files.
27AC_HEADER_STDC
28AC_CHECK_HEADERS([stdlib.h string.h])
29
30# Checks for typedefs, structures, and compiler characteristics.
31AC_C_CONST
32AC_TYPE_SIZE_T
33
34# Checks for library functions.
35AC_FUNC_MALLOC
36AC_FUNC_REALLOC
37AC_CHECK_LIB(m, sqrt, ,AC_MSG_ERROR([compatible libc math library not found]))
38# check for GNU Scientific Library
39AC_SEARCH_LIBS(cblas_sdot, blas cblas gslblas gslcblas)
40AC_CHECK_LIB(gsl,main)
41
42AC_MSG_NOTICE(["CFLAGS: $CFLAGS, CXXFLAGS: $CXXFLAGS, LDFLAGS: $LDFLAGS, CC: $CC, CXX:, $CXX, MPICC: $MPICC, MPILIBS: $MPILIBS, LIBS: $LIBS"])
43
44# test suite
45AC_CONFIG_TESTDIR(tests)
46AC_CONFIG_FILES([tests/atlocal tests/Makefile])
47AC_CONFIG_FILES([tests/NanoCreator], [chmod +x tests/NanoCreator])
48
49AC_CHECK_FUNCS([pow sqrt strchr strrchr strstr])
50AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile])
51AC_CONFIG_FILES([src/CreateFromXYZ.sh src/dynamicANOVA.sh src/Nanotubes.pl src/ReSequenceDX.pl src/BOSSMatcher.pl])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.