X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=configure.ac;h=2681ec52b6aae2c2d1c80da8b469c412deb7dc0c;hb=7295fe6abb7eb2f5f25f3c82e9cbd3c389ae9370;hp=cdde05e4736e4f3c1a1ec64cc23fd07010331c40;hpb=4e791549f24e86c3d98632c0215ea6ad6436e6ad;p=fastq-tools.git diff --git a/configure.ac b/configure.ac index cdde05e..2681ec5 100644 --- a/configure.ac +++ b/configure.ac @@ -8,8 +8,8 @@ AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC AM_PROG_CC_C_O -opt_CFLAGS="-g -O3" -dbg_CFLAGS="-g -O0" +opt_CFLAGS="-Wall -g -O3" +dbg_CFLAGS="-Wall -g -O0" AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], @@ -22,6 +22,7 @@ AS_IF([test "x$enable_debug" = xyes], AC_DEFINE(_FILE_OFFSET_BITS, 64) +AC_PROG_LIBTOOL # check zlib AX_CHECK_ZLIB @@ -33,7 +34,8 @@ then AC_MSG_ERROR([The PCRE library is needed. See http://www.pcre.org.]) fi CFLAGS="$CFLAGS $(pcre-config --cflags)" -PCRE_LIBS=$(pcre-config --libs) +PCRE_LIBS="$(pcre-config --libs)" +AC_SUBST(PCRE_LIBS) # check getopt AC_CHECK_HEADER(getopt.h, ,