summaryrefslogtreecommitdiff
path: root/m4/c-strtod.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-05-28 09:16:57 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-05-28 09:16:57 +0000
commit59985f42e6af1a5879378e77afe5df5aadefa48c (patch)
tree6ea268eaa82842ff08b91913a310b03cab993791 /m4/c-strtod.m4
parent9602351980043dcb4058c1dc93d4ee7789117f41 (diff)
downloadcoreutils-59985f42e6af1a5879378e77afe5df5aadefa48c.tar.xz
(gl_C99_STRTOLD): Use a link test rather than a
compile test, for Tru64 4.0D.
Diffstat (limited to 'm4/c-strtod.m4')
-rw-r--r--m4/c-strtod.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/c-strtod.m4 b/m4/c-strtod.m4
index ffeb45884..dca1cbc70 100644
--- a/m4/c-strtod.m4
+++ b/m4/c-strtod.m4
@@ -1,6 +1,6 @@
-# c-strtod.m4 serial 6
+# c-strtod.m4 serial 7
-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,7 @@ AC_DEFUN([gl_C99_STRTOLD],
[
AC_CACHE_CHECK([whether strtold conforms to C99],
[gl_cv_func_c99_strtold],
- [AC_COMPILE_IFELSE(
+ [AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[/* On HP-UX before 11.23, strtold returns a struct instead of
long double. Reject implementations like that, by requiring