From 0784449db346e9f84f4e994f540b347a346e9772 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Wed, 2 Jun 2004 05:28:11 +0000 Subject: 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 --- autoconf/autoconf-2.59/sizeof_types.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoconf') 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}'` -- cgit v1.2.3