swh:1:snp:56338107753f6c77b5cc725ca54f6814b0403aa5
Raw File
Tip revision: 649cc65beb8c38ec8043ec81beae2da5cb8f8aeb authored by andrewjpage on 16 October 2014, 10:55:57 UTC
Merge pull request #114 from andrewjpage/rename_converge_method
Tip revision: 649cc65
configure.ac
AC_INIT([gubbins], m4_esyscmd([tr -d '\n' < VERSION]), [aidan@ontologyengineering.org], [$(PACKAGE_NAME)$(AC_PACKAGE_VERSION)], [https://github.com/sanger-pathogens/gubbins])

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