Blame m4/strtoull.m4

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