forked from ViennaRNA/ViennaRNA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
84 lines (62 loc) · 1.81 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
dnl Process this file with autoconf to produce a configure script.
m4_define([vrna_version_major], [2])
m4_define([vrna_version_minor], [4])
m4_define([vrna_version_patch], [14])
dnl Every other copy of the package version number gets its value from here
AC_INIT([ViennaRNA],vrna_version_major.vrna_version_minor.vrna_version_patch,[[email protected]],[ViennaRNA], [http://www.tbi.univie.ac.at/RNA])
AC_PREREQ([2.60])
AC_CONFIG_AUX_DIR(config)
AC_SUBST(VERSION)
AC_CONFIG_MACRO_DIR([m4])
AC_USE_SYSTEM_EXTENSIONS
dnl change the default installation prefix
dnl AC_PREFIX_DEFAULT(/usr/local/RNA)
AM_SILENT_RULES([yes])
AM_INIT_AUTOMAKE([1.11])
dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
AC_CONFIG_HEADERS([config.h])
dnl configure options
AM_WITH_DMALLOC
ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)
AC_CANONICAL_HOST
dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_CC
AC_PROG_CPP
if test "$GCC" = yes; then
AC_DEFINE(UNUSED, __attribute__ ((unused)), avoid warning about unused variables)
else
AC_DEFINE(UNUSED,, only for gcc)
fi
AC_PROG_INSTALL
AM_PROG_AR
AC_PROG_MAKE_SET
AC_PROG_GREP
AC_PROG_MKDIR_P
AM_PROG_CC_C_O
AC_PROG_SED
AC_PROG_LN_S
AC_PROG_CC_C99
AC_PROG_LIBTOOL
LT_INIT([pic-only, static])
AC_SUBST(LIBTOOL_DEPS)
dnl Checks for libraries.
AC_CHECK_LIB([m], [exp])
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([malloc.h float.h limits.h stdlib.h string.h strings.h unistd.h math.h stdarg.h])
dnl Checks for funtions
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_STRTOD
AC_CHECK_FUNCS([floor strdup strstr strchr strrchr strstr strtol strtoul pow rint sqrt erand48 memset memmove erand48 asprintf vasprintf])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_C_INLINE([])
AC_RNA_INIT
AC_OUTPUT
AC_RNA_NOTICE