summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-10-12 16:09:31 -0400
committerBen Gamari <ben@smart-cactus.org>2021-10-12 16:09:31 -0400
commita584c4a97504679b82b792ee011911b85f5fb46b (patch)
tree6a9f014d8ecffe2af65cc04053f426c3437b66d3
parente40feab039bcf687cdaefa7a3f7c862d10b9b517 (diff)
downloadhaskell-wip/autoconf-fix.tar.gz
distrib/configure: Add AC_CONFIG_MACRO_DIRSwip/autoconf-fix
Sadly, autoconf cannot warn when it encounters an undefined macro and therefore this bug went unnoticed for altogether far too long.
-rw-r--r--distrib/configure.ac.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index a1abed4b03..7a29369000 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -9,6 +9,8 @@ AC_INIT([The Glorious Glasgow Haskell Compilation System], [@ProjectVersion@], [
dnl See /configure.ac for rationale.
AC_PREREQ([2.69])
+AC_CONFIG_MACRO_DIRS([../m4])
+
dnl--------------------------------------------------------------------
dnl * Deal with arguments telling us gmp is somewhere odd
dnl--------------------------------------------------------------------