[commit: ghc] master: configure: Fix incorrect quoting (c729734)

git at git.haskell.org git at git.haskell.org
Thu Nov 16 20:10:45 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c7297342a4797ea36df8767d9c208cfb45de2d09/ghc

>---------------------------------------------------------------

commit c7297342a4797ea36df8767d9c208cfb45de2d09
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Nov 16 15:07:33 2017 -0500

    configure: Fix incorrect quoting
    
    This is a regression affecting Windows introduced by
    3bed4aa703c41ccbd310496420fbb71afdfd99e7.


>---------------------------------------------------------------

c7297342a4797ea36df8767d9c208cfb45de2d09
 configure.ac | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3a7375d..d67e5bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -922,7 +922,11 @@ AC_CHECK_DECLS([ctime_r], , ,
 #include <time.h>])
 
 dnl ** check for mingwex library
-AC_CHECK_LIB([mingwex], [closedir], [AC_SUBST([HaveLibMingwEx],[YES])] [AC_SUBST(CabalMingwex),[True]], [AC_SUBST([HaveLibMingwEx],[NO])] [AC_SUBST([CabalMingwex],[False])])
+AC_CHECK_LIB(
+  [mingwex],
+  [closedir],
+  [AC_SUBST([HaveLibMingwEx],[YES])] [AC_SUBST([CabalMingwex],[True])],
+  [AC_SUBST([HaveLibMingwEx],[NO])] [AC_SUBST([CabalMingwex],[False])])
 
 if test $HaveLibMingwEx = YES ; then
   AC_DEFINE([HAVE_MINGWEX], [1], [Define to 1 if you have the mingwex library.])



More information about the ghc-commits mailing list