/* Define to 1 if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
+/* Define to 1 if you have the `regcomp' function. */
+#undef HAVE_REGCOMP
+
+/* Define to 1 if you have the `regexec' function. */
+#undef HAVE_REGEXEC
+
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([ftruncate memset socket strerror strncasecmp snprintf fcntl])
-AC_CHECK_FUNCS([nanosleep time strftime syslog])
+AC_CHECK_FUNCS([nanosleep time strftime syslog regcomp regexec])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([src/Makefile])
if(prefix) {
if(strncmp(hdrline, "Subject: ", 9) == 0) {
unqp = cleanquotedp(hdrline + 9);
+ log_error(LOG_ARGS, "unqp = [%s]", unqp);
if(strstr(hdrline + 9, prefix) == NULL &&
strstr(unqp, prefix) == NULL) {
subject = concatstr(4,