[configure] Add stdalign.h checks for BTLS to ARM platforms too
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 May 2017 18:12:44 +0000 (20:12 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 May 2017 18:13:45 +0000 (20:13 +0200)
We added it for x86/amd64 in 488b550ac0275c944e0a2c23be93173382084e5f
but missed adding that check when ARM was added recently.

configure.ac

index a37a5dc7eeac1a1fc7f05e08361148724156f1cf..db88b0185a4b0a4f389d88e2efab2c21af929617 100644 (file)
@@ -3228,6 +3228,7 @@ case "$host" in
                CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
                BTLS_SUPPORTED=yes
                BTLS_PLATFORM=arm
+               AC_CHECK_HEADER(stdalign.h,[],[BTLS_SUPPORTED=no])
                case "$target" in
                arm*-linux*-gnueabi)
                        BTLS_PLATFORM=armsoft
@@ -3255,6 +3256,7 @@ case "$host" in
                AOT_SUPPORTED="yes"
                BTLS_SUPPORTED=yes
                BTLS_PLATFORM=aarch64
+               AC_CHECK_HEADER(stdalign.h,[],[BTLS_SUPPORTED=no])
                ;;
        s390x-*-linux*)
                TARGET=S390X;