Fix sanitize-undefined config check. Don't ALLOW_UNALIGNED when checking.
authorMark Wielaard <mjw@redhat.com>
Sun, 31 May 2015 20:37:19 +0000 (22:37 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 5 Jun 2015 12:52:29 +0000 (14:52 +0200)
commit170f1bb0a8f49cd6c5e7b34aaa505928764866bb
treedd5fc0594d3b6918f5bb121776c0c50cdab3ed0a
parent616489da5005c63fe572df422f1936529c4743f5
Fix sanitize-undefined config check. Don't ALLOW_UNALIGNED when checking.

The -fsanitize=undefined check need to use AC_LINK_IFELSE to make sure
libubsan is installed. When doing undefined checking we should disable
ALLOW_UNALIGNED memory accesses to catch issues where we do unaligned
accesses by accident.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
ChangeLog
configure.ac
lib/ChangeLog
lib/eu-config.h