pa_c_typedef.m4: also test for __typeof and __decltype
Some vendors prefer to put underscores just at the beginning. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
5c90a7c237
commit
1b9c8ec434
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ dnl --------------------------------------------------------------------------
|
|||
AC_DEFUN([PA_C_TYPEOF],
|
||||
[AC_CACHE_CHECK([if $CC supports typeof], [pa_cv_typeof],
|
||||
[pa_cv_typeof=no
|
||||
for pa_typeof_try in typeof __typeof__ decltype __decltype__; do
|
||||
for pa_typeof_try in typeof __typeof __typeof__ decltype __decltype __decltype__
|
||||
do
|
||||
AS_IF([test $pa_cv_typeof = no],
|
||||
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
||||
AC_INCLUDES_DEFAULT
|
||||
|
|
Loading…
Reference in a new issue