--- configure.ac.orig	2019-12-29 19:29:52.000000000 +0100
+++ configure.ac	2019-12-29 19:28:41.000000000 +0100
@@ -20,6 +20,7 @@
 AC_INIT
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
+AC_CONFIG_MACRO_DIRS([m4])
 AC_CONFIG_SRCDIR([src/gwenhywfarapi.h])
 AC_CONFIG_HEADERS([config.h])
 
