summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-01-09 14:59:27 +0100
committerMichael Stahl <mstahl@redhat.com>2015-01-09 15:02:33 +0100
commit5d061167ee9b88628a1936041ee90c62e4dc1e18 (patch)
tree774cb13f440f60058b5a6cbe8820f0ff8f4b0020 /configure.ac
parent3757c03fc8f138427e21c41ef5e66e8c5a98159c (diff)
gbuild: try to fix windows non-debug builds
The ENABLE_CRASHREP is no longer AC_SUBSTed by configure, so it is always non-empty in config_host.mk, resulting in -Zi without -FS, which breaks MSVC 2013 builds. Leave a placeholder in configure for the new crash reporter vaporware, and force the CFLAGS to be the same as in the --eanble-symbols case. (regression from 8ab4d2f29fdd2c058db23f6ee7b2200655d4c6f6) Change-Id: I476fb2e4f50de5304632628b25e3997ea6c31c27
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cb124185404d..3234a2b95867 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4527,6 +4527,10 @@ dnl Check for syslog header
dnl ===================================================================
AC_CHECK_HEADER(syslog.h, AC_DEFINE(HAVE_SYSLOG_H))
+# placeholder for future crash reporter feature
+ENABLE_CRASHDUMP=""
+AC_SUBST(ENABLE_CRASHDUMP)
+
dnl Set the ENABLE_WERROR variable. (Activate --enable-werror)
dnl ===================================================================
AC_MSG_CHECKING([whether to turn warnings to errors])