Skip to content
  • Kalev Lember's avatar
    configure: Fix alignment tests when cross compiling · 8f8fc836
    Kalev Lember authored
    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.
    8f8fc836