--- configure.ac.orig	2016-05-20 11:41:06 UTC
+++ configure.ac
@@ -12,6 +12,7 @@ AC_CONFIG_AUX_DIR(utils)  
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/setup.h])
 AC_CONFIG_HEADERS(include/config.h)
+AC_CONFIG_MACRO_DIRS([m4])
 
 dnl canonicalize the host
 AC_CANONICAL_HOST
@@ -41,7 +42,6 @@ dnl
 dnl Program support
 dnl
 AC_PATH_PROG( PERL, perl, false )
-AC_PROG_SHELL
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 case "$host_os" in
