annotate m4/imaxabs.m4 @ 40231:9b3c79fdfe0b

strtod: fix clash with strtold Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817). * lib/strtod.c (compute_minus_zero, minus_zero): Simplify by remving the macro / external variable, and having just a function. User changed. This avoids the need for an external variable that might clash.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 11 Mar 2019 16:40:29 -0700
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15554
f6ddf66ecff7 imaxabs: Avoid link error on OSF/1 with DTK cc.
Bruno Haible <bruno@clisp.org>
parents: 14985
diff changeset
1 # imaxabs.m4 serial 4
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19484
diff changeset
2 dnl Copyright (C) 2006, 2009-2019 Free Software Foundation, Inc.
7205
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 AC_DEFUN([gl_FUNC_IMAXABS],
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 [
14605
deb963ea3d3c inttypes: Move some configure check to module 'imaxabs'.
Paul Eggert <eggert@cs.ucla.edu>
parents: 14079
diff changeset
9 AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
15554
f6ddf66ecff7 imaxabs: Avoid link error on OSF/1 with DTK cc.
Bruno Haible <bruno@clisp.org>
parents: 14985
diff changeset
10
f6ddf66ecff7 imaxabs: Avoid link error on OSF/1 with DTK cc.
Bruno Haible <bruno@clisp.org>
parents: 14985
diff changeset
11 dnl On OSF/1 5.1 with cc, this function is declared but not defined.
f6ddf66ecff7 imaxabs: Avoid link error on OSF/1 with DTK cc.
Bruno Haible <bruno@clisp.org>
parents: 14985
diff changeset
12 AC_CHECK_FUNCS_ONCE([imaxabs])
14605
deb963ea3d3c inttypes: Move some configure check to module 'imaxabs'.
Paul Eggert <eggert@cs.ucla.edu>
parents: 14079
diff changeset
13 AC_CHECK_DECLS_ONCE([imaxabs])
7205
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 if test "$ac_cv_have_decl_imaxabs" != yes; then
14605
deb963ea3d3c inttypes: Move some configure check to module 'imaxabs'.
Paul Eggert <eggert@cs.ucla.edu>
parents: 14079
diff changeset
15 HAVE_DECL_IMAXABS=0
7205
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 fi
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 ])
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 # Prerequisites of lib/imaxabs.c.
47e98e70a47d New module 'imaxabs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 AC_DEFUN([gl_PREREQ_IMAXABS], [:])