File: configure.ac

package info (click to toggle)
trnascan-se 2.0.0-3
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 19,848 kB
  • sloc: ansic: 17,602; perl: 14,657; sh: 1,035; makefile: 45
file content (44 lines) | stat: -rw-r--r-- 1,113 bytes parent folder | download
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
## configure.ac
## tRNAscan-SE
##
## Settings for generating a configure file 

AC_PREREQ([2.69])
AC_INIT([tRNAscan-SE],[2.0.0],[pchan@soe.ucsc.edu])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CC

# standard install program
AC_PROG_INSTALL

# Check for perl/get path
AC_PATH_PROG(PERL, perl)

# Check perl version
AC_DEFUN([AX_PROG_PERL_VERSION],
[AC_CACHE_CHECK([for Perl version $1 or later], [ax_cv_prog_perl_version],
    [AS_IF(["$PERL" -e 'require $1;' >/dev/null 2>&1], [$2], [$3])])])
AX_PROG_PERL_VERSION([5.0.0],[AC_MSG_RESULT(yes)],[AC_MSG_ERROR([not compatible with this version of perl], [1])])

# Checks for header files.
AC_FUNC_ALLOCA
AC_CHECK_HEADERS([limits.h memory.h stddef.h stdlib.h string.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([bzero memset re_comp regcomp sqrt strcasecmp strchr strstr])

# use automake
AM_INIT_AUTOMAKE([foreign])

# use Makefile.in to generate Makefile
AC_CONFIG_FILES([Makefile])

AC_OUTPUT