diff options
author | Chris Larson <clarson@kergoth.com> | 2004-05-29 17:11:04 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-05-29 17:11:04 +0000 |
commit | 087629f4afb009d0eceec99db1e2ae45c1cf507e (patch) | |
tree | b33e81f2007fd813d64b11c6b513e6ebdc493e7b /autoconf | |
parent | 57805d1d4e115d1901fa432d0dcb49807a38233b (diff) |
Cleanup pass - remove remnant virtual/libc items from DEPENDS.
BKrev: 40b8c428TTv4Isw4YZOO0-X8vxwV2g
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/autoconf-2.59/sizeof_types.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/autoconf/autoconf-2.59/sizeof_types.patch b/autoconf/autoconf-2.59/sizeof_types.patch index e69de29bb2..1203a82c64 100644 --- a/autoconf/autoconf-2.59/sizeof_types.patch +++ b/autoconf/autoconf-2.59/sizeof_types.patch @@ -0,0 +1,59 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- autoconf-2.59/lib/autoconf/types.m4~sizeof_types.patch 2003-05-22 08:05:14.000000000 -0400 ++++ autoconf-2.59/lib/autoconf/types.m4 2004-05-29 01:31:24.828295015 -0400 +@@ -380,32 +380,38 @@ + # Generic checks. # + # ---------------- # + ++AC_DEFUN([AC_PROG_SIZE], ++[ ++ AC_CHECK_TOOL(SIZE, size, :) ++]) + + # AC_CHECK_SIZEOF(TYPE, [IGNORED], [INCLUDES = DEFAULT-INCLUDES]) + # --------------------------------------------------------------- + AC_DEFUN([AC_CHECK_SIZEOF], +-[AS_LITERAL_IF([$1], [], ++[AC_REQUIRE([AC_PROG_SIZE]) ++AC_REQUIRE([AC_PROG_AWK]) ++ AS_LITERAL_IF([$1], [], + [AC_FATAL([$0: requires literal arguments])])dnl + AC_CHECK_TYPE([$1], [], [], [$3]) + AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]), +-[if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then +- # The cast to unsigned long works around a bug in the HP C Compiler +- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +- # This bug is HP SR number 8606223364. +- _AC_COMPUTE_INT([(long) (sizeof ($1))], +- [AS_TR_SH([ac_cv_sizeof_$1])], +- [AC_INCLUDES_DEFAULT([$3])], +- [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([], ++ [static const $1 x[[256]];])], ++ [ ++ AS_TR_SH([ac_cv_sizeof_$1])=`$SIZE conftest.$ac_objext | tail -n 1 | $AWK '{print [$]3/256}'` ++ ], ++ [ ++ AS_TR_SH([ac_cv_sizeof_$1])=0 ++ ]) + else + AS_TR_SH([ac_cv_sizeof_$1])=0 +-fi])dnl ++fi ++])dnl + AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]), + [The size of a `$1', as computed by sizeof.]) + ])# AC_CHECK_SIZEOF + +- +- + # ---------------- # + # Generic checks. # + # ---------------- # |