From 2694fa9dacbb6afac5fd7e2a094ffff0c0ed3279 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 29 Jan 2016 22:52:06 -0800 Subject: [PATCH] Create the m4 directory for Autoconf macro files Keeping separate files is more maintainable than merging them into a single aclocal.m4 file. It is easier for users to understand where those files come from. Automake knows how to distribute files in the m4 directory. --- Makefile.am | 2 ++ configure.ac | 1 + m4/.gitignore | 1 + 3 files changed, 4 insertions(+) create mode 100644 m4/.gitignore diff --git a/Makefile.am b/Makefile.am index e8905c98..aa32a502 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +ACLOCAL_AMFLAGS = -I m4 + EXTRA_DIST = bootstrap COPYING design.txt faq-compile.txt faq-general.txt file-loc.txt install.txt prog_std.txt readme.txt if XRDP_NEUTRINORDP diff --git a/configure.ac b/configure.ac index 12c298e0..79e38d0d 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,7 @@ AC_PREREQ(2.59) AC_INIT([xrdp], [0.9.0], [xrdp-devel@googlegroups.com]) AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in) AM_INIT_AUTOMAKE([1.6 foreign]) +AC_CONFIG_MACRO_DIRS([m4]) AC_PROG_CC AC_C_CONST AC_PROG_LIBTOOL diff --git a/m4/.gitignore b/m4/.gitignore new file mode 100644 index 00000000..0f4126cd --- /dev/null +++ b/m4/.gitignore @@ -0,0 +1 @@ +*.m4