source: trunk/src/gcc/libjava/acinclude.m4@ 1442

Last change on this file since 1442 was 1392, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 9.5 KB
Line 
1AC_DEFUN([AC_COMPILE_CHECK_SIZEOF],
2[changequote(<<, >>)dnl
3dnl The name to #define.
4define(<<AC_TYPE_NAME>>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl
5dnl The cache variable name.
6define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl
7changequote([, ])dnl
8AC_MSG_CHECKING(size of $1)
9AC_CACHE_VAL(AC_CV_NAME,
10[for ac_size in 4 8 1 2 16 12 $2 ; do # List sizes in rough order of prevalence.