Blame m4/strtoll.m4

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