make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 25 Apr 2012 07:46:35 +0000 (09:46 +0200)
committerColin Walters <walters@verbum.org>
Wed, 25 Apr 2012 13:36:29 +0000 (09:36 -0400)
commit56bcba11dd2d2b679efeebcf78f0f5736ba311e1
tree32b9bc17cba5c89367c2f98df5f22537bed28443
parentb053f990c91eff334aec8db9519846a041a98999
make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment

When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the
correct alignment. Without a previous AC_CHECK_TYPE for the same type, the
alignment is silently set to '0'.
This makes sure that configure fails and reports the problem.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
https://bugzilla.gnome.org/show_bug.cgi?id=674483
configure.ac