Ensure that GHC.Stack.callStack doesn't fail
[ghc.git] / configure.ac
index c31deba..00fae0a 100644 (file)
@@ -420,13 +420,13 @@ then
     AC_PATH_PROG([OBJDUMP],[objdump])
     AC_PATH_PROG([DllWrap],[dllwrap])
     AC_PATH_PROG([Windres],[windres])
+fi
 
-    DllWrapCmd="$DllWrap"
-    WindresCmd="$Windres"
+DllWrapCmd="$DllWrap"
+WindresCmd="$Windres"
 
-    AC_SUBST([DllWrapCmd])
-    AC_SUBST([WindresCmd])
-fi
+AC_SUBST([DllWrapCmd])
+AC_SUBST([WindresCmd])
 
 FP_ICONV
 FP_GMP
@@ -875,8 +875,8 @@ FP_CHECK_SIZEOF_AND_ALIGNMENT(uint64_t)
 
 
 dnl for use in settings.in
-WordSize=$ac_cv_sizeof_void_p
-AC_SUBST(WordSize)
+TargetWordSize=$ac_cv_sizeof_void_p
+AC_SUBST(TargetWordSize)
 FP_CHECK_FUNC([WinExec],
   [@%:@include <windows.h>], [WinExec("",0)])