source: trunk/third/gettext/m4/ulonglong.m4 @ 16931

Revision 16931, 572 bytes checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16930, which included commits to RCS files with non-trunk default branches.
Line 
1#serial 2
2
3dnl From Paul Eggert.
4
5AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
6[
7  AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
8  [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
9    [unsigned long long ullmax = (unsigned long long) -1;
10     return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
11    ac_cv_type_unsigned_long_long=yes,
12    ac_cv_type_unsigned_long_long=no)])
13  if test $ac_cv_type_unsigned_long_long = yes; then
14    AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
15      [Define if you have the unsigned long long type.])
16  fi
17])
Note: See TracBrowser for help on using the repository browser.