configure: Fix alignment tests when cross compiling
authorKalev Lember <kalevlember@gmail.com>
Wed, 28 Mar 2012 09:42:49 +0000 (12:42 +0300)
committerKalev Lember <kalevlember@gmail.com>
Wed, 28 Mar 2012 09:42:49 +0000 (12:42 +0300)
commit8f8fc836709cff58bd666b87937542088cfc19db
treec6a9af1f352ada2e82665a9e8730102eda468dc6
parent92b84e88ab9bdd6db869574020843101ddb3a0de
configure: Fix alignment tests when cross compiling

When inserting custom code to AC_CHECK_ALIGNOF, make sure to not replace
the default includes, but instead append to them.

This fixes ALIGNOF_GUINT32 and ALIGNOF_GUINT64 that were both 0 when cross
compiling. The third 'unsigned long' test wasn't affected because the
AC_CHECK_ALIGNOF call didn't specify the optional 2nd parameter.
configure.ac