aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Wood <carlo@alinoe.com>2019-03-01 08:11:56 +0100
committerCarlo Wood <carlo@alinoe.com>2019-03-01 08:11:56 +0100
commitfc979623a91ec4af90532daeeb5bca68b25c67c0 (patch)
tree7a2bb17ae3e7b0c1afad154e7751b55e5bb5cdb4
parentefecb0bfa687cf87836494f5d62868485c00fb66 (diff)
downloadgoogletest-fc979623a91ec4af90532daeeb5bca68b25c67c0.tar.gz
googletest-fc979623a91ec4af90532daeeb5bca68b25c67c0.tar.bz2
googletest-fc979623a91ec4af90532daeeb5bca68b25c67c0.zip
Minor build system fixes.
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am2
-rw-r--r--googlemock/Makefile.am2
-rw-r--r--googlemock/configure.ac1
-rw-r--r--googletest/configure.ac2
5 files changed, 5 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 6209bf66..f08cb72a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,7 @@ googletest/m4/ltoptions.m4
googletest/m4/ltsugar.m4
googletest/m4/ltversion.m4
googletest/m4/lt~obsolete.m4
+googlemock/m4
# Ignore generated directories.
googlemock/fused-src/
diff --git a/Makefile.am b/Makefile.am
index 433eefeb..05c20c63 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,4 @@
## Process this file with automake to produce Makefile.in
-ACLOCAL_AMFLAGS = -I m4
-
AUTOMAKE_OPTIONS = foreign
# Build . before src so that our all-local and clean-local hooks kicks in at
diff --git a/googlemock/Makefile.am b/googlemock/Makefile.am
index 8e0128fa..c77ef2b8 100644
--- a/googlemock/Makefile.am
+++ b/googlemock/Makefile.am
@@ -1,5 +1,7 @@
# Automake file
+ACLOCAL_AMFLAGS = -I m4
+
# Nonstandard package files for distribution.
EXTRA_DIST = LICENSE
diff --git a/googlemock/configure.ac b/googlemock/configure.ac
index 9456c3d5..aaa4ad43 100644
--- a/googlemock/configure.ac
+++ b/googlemock/configure.ac
@@ -8,6 +8,7 @@ AC_INIT([Google C++ Mocking Framework],
# Provide various options to initialize the Autoconf and configure processes.
AC_PREREQ([2.59])
AC_CONFIG_SRCDIR([./LICENSE])
+AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([build-aux/config.h])
AC_CONFIG_FILES([Makefile])
diff --git a/googletest/configure.ac b/googletest/configure.ac
index 254c8c4b..6cb19f40 100644
--- a/googletest/configure.ac
+++ b/googletest/configure.ac
@@ -12,7 +12,7 @@ AC_INIT([Google C++ Testing Framework],
# Provide various options to initialize the Autoconf and configure processes.
AC_PREREQ([2.59])
AC_CONFIG_SRCDIR([./LICENSE])
-AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([build-aux/config.h])
AC_CONFIG_FILES([Makefile])