configure: Update for autoconf 2.71

FossilOrigin-Name: 7237f5df863f2a7eb42ec40b46cbd8dce5207ce47a349c024a6e6964f604fc66
This commit is contained in:
Jonathan Schleifer 2023-04-17 18:17:19 +00:00
parent 75f88beebf
commit 307a330cfc

View file

@ -80,7 +80,8 @@ AS_IF([test x"$GOBJC" = x"yes"], [
old_OBJCFLAGS="$OBJCFLAGS"
OBJCFLAGS="$OBJCFLAGS -Wcast-align"
AC_MSG_CHECKING(whether -Wcast-align is buggy)
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([
#ifdef __has_attribute
# if __has_attribute(objc_root_class)
__attribute__((__objc_root_class__))
@ -99,7 +100,7 @@ AS_IF([test x"$GOBJC" = x"yes"], [
(void)c;
}
@end
], [
])
], [
AC_MSG_RESULT(no)
], [