From: Gerald Britton Date: Wed, 2 Jun 2004 05:28:11 +0000 (+0000) Subject: Merge ssh://openembedded@openembedded.bkbits.net/packages X-Git-Tag: Release-2010-05/1~18925 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0784449db346e9f84f4e994f540b347a346e9772;p=openembedded.git Merge ssh://openembedded@openembedded.bkbits.net/packages into doomcom.org:/home/gbritton/devel/OE/packages 2004/06/02 01:28:04-04:00 doomcom.org!gbritton allow defines to work for autoconf sizeof checks BKrev: 40bd656biJr0gvpJUHAHeIW-wJXbQA --- 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}'`