annotate m4/atoll.m4 @ 40186:8964917f9574

autoupdate
author Karl Berry <karl@freefriends.org>
date Mon, 18 Feb 2019 08:02:49 -0800
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14925
359460c86723 atoll: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
1 # atoll.m4 serial 2
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19484
diff changeset
2 dnl Copyright (C) 2008-2019 Free Software Foundation, Inc.
10673
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 AC_DEFUN([gl_FUNC_ATOLL],
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 [
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 dnl We don't need (and can't compile) the replacement strtoll
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 dnl unless the type 'long long int' exists.
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 if test "$ac_cv_type_long_long_int" = yes; then
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 AC_CHECK_FUNCS([atoll])
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 if test $ac_cv_func_atoll = no; then
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 HAVE_ATOLL=0
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 fi
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 fi
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 ])
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # Prerequisites of lib/atoll.c.
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 AC_DEFUN([gl_PREREQ_ATOLL], [
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 :
8e54ec4dc691 New module 'atoll'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 ])