1.1 --- a/configure.ac Wed May 31 12:51:24 2017 +0200 1.2 +++ b/configure.ac Thu Jun 01 17:29:12 2017 +0200 1.3 @@ -45,6 +45,9 @@ 1.4 # Checks for header files. 1.5 AC_CHECK_HEADERS([stdlib.h string.h dirent.h regex.h]) 1.6 1.7 +# Check for regex function. 1.8 +AC_SEARCH_LIBS(regexec, regex) 1.9 + 1.10 # Checks for typedefs, structures, and compiler characteristics. 1.11 AC_CHECK_HEADER_STDBOOL 1.12 AC_TYPE_SIZE_T