1 AC_INIT([jellyfish], [1.1.4], [gmarcais@umd.edu])
3 AC_CONFIG_MACRO_DIR([m4])
4 AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects foreign parallel-tests color-tests])
10 AC_CONFIG_MACRO_DIR([m4])
11 AC_CONFIG_HEADERS([config.h])
13 dnl define([concat], $1$2$3)dnl
14 dnl define([PC_FILE], concat([jellyfish-],AC_PACKAGE_VERSION,[.pc]))
15 define([PC_FILE], jellyfish-1.1.pc)
23 AC_ARG_VAR([MD5], [Path to md5 hashing program])
24 AS_IF([test "x$MD5" = "x"], AC_CHECK_PROG([MD5], [md5sum], [md5sum]), [])
25 AS_IF([test "x$MD5" = "x"], AC_CHECK_PROG([MD5], [md5], [md5 -r]), [])
26 AS_IF([test "x$MD5" = "x"], AC_MSG_ERROR([Could not find md5 hashing program in your path]), [])
29 [AS_HELP_STRING([--with-sse], [enable SSE])],
31 AS_IF([test "x$with_sse" != xno],
32 [AC_DEFINE([HAVE_SSE], [1], [Define if you have SSE])],
36 [AS_HELP_STRING([--with-half], [enable half float (16 bits)])],
38 AS_IF([test "x$with_half" = "xyes"],
39 [AC_DEFINE([HALF_FLOATS], [1], [Define if you use half floats for qmer counting])],
42 # Check the version of strerror_r
45 AC_CHECK_HEADERS([execinfo.h])
47 AC_CHECK_MEMBER([siginfo_t.si_int],
48 [AC_DEFINE([HAVE_SI_INT], [1], [Define if siginfo_t.si_int exists])],
49 [], [[#include <signal.h>]])