/[autoconf]/autoconf/lib/autoconf/types.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/types.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by akim, Wed Oct 10 12:58:44 2001 UTC revision 1.13 by eggert, Thu Oct 18 23:42:01 2001 UTC
# Line 352  AC_DEFUN([AC_CHECK_SIZEOF], Line 352  AC_DEFUN([AC_CHECK_SIZEOF],
352  AC_CHECK_TYPE([$1], [], [], [$3])  AC_CHECK_TYPE([$1], [], [], [$3])
353  AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),  AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
354  [if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then  [if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
355    _AC_COMPUTE_INT([sizeof ($1)],    # The cast to unsigned long works around a bug in the HP C Compiler
356      # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
357      # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
358      # This bug is HP SR number 8606223364.
359      _AC_COMPUTE_INT([(unsigned long) (sizeof ($1))],
360                    [AS_TR_SH([ac_cv_sizeof_$1])],                    [AS_TR_SH([ac_cv_sizeof_$1])],
361                    [AC_INCLUDES_DEFAULT([$3])],                    [AC_INCLUDES_DEFAULT([$3])],
362                    [AC_MSG_ERROR([cannot compute sizeof ($1), 77])])                    [AC_MSG_ERROR([cannot compute sizeof ($1), 77])])

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26