Blame m4/strtoull.m4

Packit 33f14e
# strtoull.m4 serial 7
Packit 33f14e
dnl Copyright (C) 2002, 2004, 2006, 2008-2017 Free Software Foundation, Inc.
Packit 33f14e
dnl This file is free software; the Free Software Foundation
Packit 33f14e
dnl gives unlimited permission to copy and/or distribute it,
Packit 33f14e
dnl with or without modifications, as long as this notice is preserved.
Packit 33f14e
Packit 33f14e
AC_DEFUN([gl_FUNC_STRTOULL],
Packit 33f14e
[
Packit 33f14e
  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
Packit 33f14e
  dnl We don't need (and can't compile) the replacement strtoull
Packit 33f14e
  dnl unless the type 'unsigned long long int' exists.
Packit 33f14e
  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
Packit 33f14e
  if test "$ac_cv_type_unsigned_long_long_int" = yes; then
Packit 33f14e
    AC_CHECK_FUNCS([strtoull])
Packit 33f14e
    if test $ac_cv_func_strtoull = no; then
Packit 33f14e
      HAVE_STRTOULL=0
Packit 33f14e
    fi
Packit 33f14e
  fi
Packit 33f14e
])
Packit 33f14e
Packit 33f14e
# Prerequisites of lib/strtoull.c.
Packit 33f14e
AC_DEFUN([gl_PREREQ_STRTOULL], [
Packit 33f14e
  :
Packit 33f14e
])