summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-12-01 21:30:10 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2014-12-01 21:30:27 +0100
commit2d324dd41d1c5ee5f9fd667d6cae48539e6279ba (patch)
tree606cf48d48534ce60158a49b31818a817db06261 /aclocal.m4
parent1d32a8503c2ebfab2bbdb696fe65dd0823d1ed27 (diff)
downloadhaskell-2d324dd41d1c5ee5f9fd667d6cae48539e6279ba.tar.gz
Fix malformed `configure` script
Don't pass empty string `[]` as "action-if-not-given" to `AC_ARG_ENABLE()` macro, as this would otherwise lead to an empty else-block in the resulting bash `configure` script. This bug was introduced via cb0a503a. This issue was pointed out by @christiaanb Reviewed By: christiaanb Differential Revision: https://phabricator.haskell.org/D545
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 2aa55d7d84..6caa10a916 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2277,8 +2277,7 @@ AC_DEFUN([FP_BFD_SUPPORT], [
[],dnl bfd seems to work
[AC_MSG_ERROR([can't use 'bfd' library])])
LIBS="$save_LIBS"
- ],
- []
+ ]
)
])