https://github.com/sanger-pathogens/gubbins
Revision 7e6bd0d1caa4d13ae6e265180feac4337b6beff7 authored by andrewjpage on 22 August 2014, 15:49:59 UTC, committed by andrewjpage on 22 August 2014, 15:49:59 UTC
2 parent s 4350943 + fc07f88
Raw File
Tip revision: 7e6bd0d1caa4d13ae6e265180feac4337b6beff7 authored by andrewjpage on 22 August 2014, 15:49:59 UTC
Merge pull request #105 from andrewjpage/print_excluded_sequences
Tip revision: 7e6bd0d
configure.ac
AC_INIT([gubbins], [0.1.11], [aidan@ontologyengineering.org], [$(PACKAGE_NAME)$(AC_PACKAGE_VERSION)], [https://github.com/sanger-pathogens/gubbins]) # bug reports to Aidan
AM_INIT_AUTOMAKE([foreign tar-pax])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h])

# Add our own macro dir, so we can check for PTHREAD
AC_CONFIG_MACRO_DIR([m4])

AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_CXX

# Checks for pthread
AX_PTHREAD

# Ensure zlib is available
PKG_CHECK_MODULES([zlib], [zlib])

# Check for Python
AM_PATH_PYTHON([2.0],
               [],
               [AC_MSG_WARN([Python not found. Python is required to build presage python binding. Python can be obtained from http://www.python.org])])

# Define a new recursive target. In our case it produces a .deb installable.
AM_EXTRA_RECURSIVE_TARGETS([release])

AC_CONFIG_FILES([Makefile src/Makefile release/Makefile python/Makefile])
AC_OUTPUT

AC_CHECK_HEADERS([zlib.h math.h])
back to top