Merge ssh://openembedded@openembedded.bkbits.net/packages
authorGerald Britton <gbritton@doomcom.org>
Wed, 2 Jun 2004 05:28:11 +0000 (05:28 +0000)
committerGerald Britton <gbritton@doomcom.org>
Wed, 2 Jun 2004 05:28:11 +0000 (05:28 +0000)
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

index 1203a82..9a6e474 100644 (file)
@@ -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}'`