Fix malformed `configure` script
authorHerbert Valerio Riedel <hvr@gnu.org>
Mon, 1 Dec 2014 20:30:10 +0000 (21:30 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Mon, 1 Dec 2014 20:30:27 +0000 (21:30 +0100)
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

aclocal.m4

index 2aa55d7..6caa10a 100644 (file)
@@ -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"
-        ],
-        []
+        ]
     )
 ])