configure: Update for autoconf 2.71
FossilOrigin-Name: 7237f5df863f2a7eb42ec40b46cbd8dce5207ce47a349c024a6e6964f604fc66
This commit is contained in:
parent
75f88beebf
commit
307a330cfc
1 changed files with 20 additions and 19 deletions
|
@ -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)
|
||||
], [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue