1.1 --- a/configure.ac Wed May 31 12:32:22 2017 +0200 1.2 +++ b/configure.ac Wed May 31 12:51:24 2017 +0200 1.3 @@ -29,7 +29,7 @@ 1.4 1.5 # Conditionals 1.6 AC_ARG_ENABLE([debug], 1.7 -[ --enable-debug Turn on debugging], 1.8 +[ --enable-debug Turn on debugging], 1.9 [case "${enableval}" in 1.10 yes) debug=true ;; 1.11 no) debug=false ;; 1.12 @@ -37,13 +37,13 @@ 1.13 esac],[debug=false]) 1.14 AM_CONDITIONAL([DEBUG], [test x$debug = xtrue]) 1.15 1.16 -# Checks for programs. 1.17 +# Compiler (empty default options) 1.18 +${CFLAGS=""} 1.19 AC_PROG_CC 1.20 - 1.21 -# Checks for libraries. 1.22 +AC_PROG_CC_STDC 1.23 1.24 # Checks for header files. 1.25 -AC_CHECK_HEADERS([stdlib.h string.h]) 1.26 +AC_CHECK_HEADERS([stdlib.h string.h dirent.h regex.h]) 1.27 1.28 # Checks for typedefs, structures, and compiler characteristics. 1.29 AC_CHECK_HEADER_STDBOOL