blob: afc765a3eee2966dd06cf6a987cbf0e54d7217cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#serial 1
dnl From Paul Eggert.
AC_DEFUN(jm_AC_TYPE_UNSIGNED_LONG_LONG,
[
AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
[AC_TRY_COMPILE([],
[unsigned long long i = (unsigned long long) -1;],
ac_cv_type_unsigned_long_long=yes,
ac_cv_type_unsigned_long_long=no)])
if test $ac_cv_type_unsigned_long_long = yes; then
AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
[Define if you have the unsigned long long type.])
fi
])
|