File: configure.ac

package info (click to toggle)
snp-sites 2.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 16,224 kB
  • sloc: ansic: 1,349; perl: 51; makefile: 37; sh: 21
file content (23 lines) | stat: -rw-r--r-- 570 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
AC_INIT([snp-sites], m4_esyscmd([tr -d '\n' < VERSION]))
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])

AC_CANONICAL_HOST

PKG_CHECK_MODULES([CHECK],[check >= 0.8.2],[have_check="yes"],
  AC_MSG_WARN(["'Check' unit testing framework not found. It would be impossible to run unit tests!"])
  [have_check="no"])


AC_CHECK_HEADERS([zlib.h math.h getopt.h])
AC_CHECK_LIB(m, floor)
AX_CHECK_ZLIB

AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_CXX

AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT