Get SAH_DEFAULT_BITNESS first before testing

This commit is contained in:
Jia Yuan Lo 2021-01-21 23:45:14 +08:00 committed by GitHub
parent 2fed2c1fbc
commit ac8c5fc3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -36,11 +36,10 @@ AC_DEFUN([SAH_DEFAULT_BITNESS],[
AC_LANG_POP([C++])
fi
])
AC_DEFUN([SAH_SELECT_BITNESS],[
AC_LANG_PUSH(C)
SAH_DEFAULT_BITNESS
AC_LANG_PUSH(C)
AC_MSG_CHECKING(Selecting $1 bit model)
echo "int main() { return 0; }" >conftest.$ac_ext
if test "$1" != "${COMPILER_MODEL_BITS}"