Ensure AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT are consistent.
[gnulib.git] / m4 / ulonglong.m4
1 # ulonglong.m4 serial 9
2 dnl Copyright (C) 1999-2007 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 # This macro is obsolescent and should go away soon.
8 AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG],
9 [
10   AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
11   ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
12   if test $ac_cv_type_unsigned_long_long = yes; then
13     AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
14       [Define if you have the 'unsigned long long' type.])
15   fi
16 ])