Use AC_CONFIG_MACRO_DIR().
authorGuus Sliepen <guus@sliepen.org>
Tue, 3 Oct 2017 18:59:00 +0000 (20:59 +0200)
committerGuus Sliepen <guus@sliepen.org>
Tue, 3 Oct 2017 19:09:29 +0000 (21:09 +0200)
Makefile.am
configure.ac
m4/Makefile.am [deleted file]

index c03d020..735f6d5 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS = m4 src doc distro
+SUBDIRS = src doc distro
 
 ACLOCAL_AMFLAGS = -I m4 
 
index 7f1a671..0448707 100644 (file)
@@ -5,6 +5,7 @@ AC_INIT([tinc], [1.0.32])
 AC_CONFIG_SRCDIR([src/tincd.c])
 AM_INIT_AUTOMAKE([1.11 check-news std-options subdir-objects nostdinc silent-rules -Wall info-in-builddir])
 AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
 AM_MAINTAINER_MODE
 AM_SILENT_RULES([yes])
 
@@ -252,6 +253,6 @@ AC_ARG_ENABLE(jumbograms,
   ]
 )
 
-AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile m4/Makefile distro/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile distro/Makefile])
 
 AC_OUTPUT
diff --git a/m4/Makefile.am b/m4/Makefile.am
deleted file mode 100644 (file)
index 1ff32a7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-## Process this file with automake to produce Makefile.in   -*-Makefile-*-
-
-EXTRA_DIST = README attribute.m4 ax_append_flag.m4 ax_cflags_warn_all.m4 ax_check_compile_flag.m4 ax_check_link_flag.m4 ax_require_defined.m4 lzo.m4 openssl.m4 zlib.m4