diff options
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/autoconf-2.59/sizeof_types.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/autoconf-2.59/sizeof_types.patch b/autoconf/autoconf-2.59/sizeof_types.patch index 1203a82c64..9a6e47453e 100644 --- a/autoconf/autoconf-2.59/sizeof_types.patch +++ b/autoconf/autoconf-2.59/sizeof_types.patch @@ -35,7 +35,7 @@ - [AC_MSG_FAILURE([cannot compute sizeof ($1), 77])]) +[ +if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$3])], + [static const $1 x[[256]];])], + [ + AS_TR_SH([ac_cv_sizeof_$1])=`$SIZE conftest.$ac_objext | tail -n 1 | $AWK '{print [$]3/256}'` |