X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.ac;h=93e89b0b13cfeb02fd864bb74996a3331cded482;hb=a7a328a691ab370ed7fd61c9c04af9def02395d5;hp=f106f53c7ac1cad9e79a23628dc2d150966d47da;hpb=51c0b6967d832ab84e238a6dd22b6672523ea52b;p=fastq-tools.git diff --git a/configure.ac b/configure.ac index f106f53..93e89b0 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,14 @@ AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC AM_PROG_CC_C_O +m4_ifdef([AC_TYPE_UINT8_T], [AC_TYPE_UINT8_T]) +m4_ifdef([AC_TYPE_UINT16_T], [AC_TYPE_UINT16_T]) +m4_ifdef([AC_TYPE_INT32_T], [AC_TYPE_INT32_T]) +m4_ifdef([AC_TYPE_UINT32_T], [AC_TYPE_UINT32_T]) +m4_ifdef([AC_TYPE_UINT64_T], [AC_TYPE_UINT64_T]) +m4_ifdef([AC_TYPE_SIZE_T], [AC_TYPE_SIZE_T]) +m4_ifdef([AC_HEADER_STDBOOL], [AC_HEADER_STDBOOL]) + opt_CFLAGS="--std=c99 -Wall -Wextra -pedantic -g -O3" dbg_CFLAGS="--std=c99 -Wall -Wextra -pedantic -g -O0" @@ -28,9 +36,6 @@ AC_PROG_LIBTOOL AC_CHECK_FUNC(fileno, , AC_MSG_ERROR([The 'fileno' function is missing.])) -# check zlib -AX_CHECK_ZLIB - # check pcre AC_CHECK_PROG(HAVE_PCRE, pcre-config, yes, no) if test "x$HAVE_PCRE" = "xno" @@ -50,6 +55,7 @@ CXXFLAGS=$CFLAGS AC_CONFIG_FILES([Makefile src/Makefile + tests/Makefile doc/Makefile src/version.h])