summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-21 03:58:57 +0000
committerJim Meyering <jim@meyering.net>1999-04-21 03:58:57 +0000
commit42a64ac80e1cc108b4ced137ab82f6a7bd3258f7 (patch)
treee6ec10847dea706c11d3b9f3aa9c5f906daf78fd /m4
parent6783ad783282d18b7358a026d5f236e947761be6 (diff)
downloadcoreutils-42a64ac80e1cc108b4ced137ab82f6a7bd3258f7.tar.xz
*** empty log message ***
Diffstat (limited to 'm4')
-rw-r--r--m4/ulonglong.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/ulonglong.m4 b/m4/ulonglong.m4
new file mode 100644
index 000000000..afc765a3e
--- /dev/null
+++ b/m4/ulonglong.m4
@@ -0,0 +1,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
+])