aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2004-06-02 05:28:11 +0000
committerGerald Britton <gbritton@doomcom.org>2004-06-02 05:28:11 +0000
commit0784449db346e9f84f4e994f540b347a346e9772 (patch)
tree1f5064fe9b7e9566f5a8bab812bcc79cb8691c28 /autoconf
parent6aa184d24716ad70b9c10090ea7d074c348fa4c1 (diff)
downloadopenembedded-0784449db346e9f84f4e994f540b347a346e9772.tar.gz
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
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/autoconf-2.59/sizeof_types.patch2
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}'`