summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-10-12 16:09:31 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-13 18:44:12 -0400
commit64460b20bce7d0979215bdde33f2f7d1248b5003 (patch)
tree683a38ea1b8205a3cb346396903a67b4bcb21a2b /distrib
parent3c0e60b8079edb1fddc5376d5b39eabc5218a293 (diff)
downloadhaskell-64460b20bce7d0979215bdde33f2f7d1248b5003.tar.gz
distrib/configure: Add AC_CONFIG_MACRO_DIRS
Sadly, autoconf cannot warn when it encounters an undefined macro and therefore this bug went unnoticed for altogether far too long.
Diffstat (limited to 'distrib')
-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--------------------------------------------------------------------