diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-05-28 09:16:57 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-05-28 09:16:57 +0000 |
commit | 59985f42e6af1a5879378e77afe5df5aadefa48c (patch) | |
tree | 6ea268eaa82842ff08b91913a310b03cab993791 | |
parent | 9602351980043dcb4058c1dc93d4ee7789117f41 (diff) | |
download | coreutils-59985f42e6af1a5879378e77afe5df5aadefa48c.tar.xz |
(gl_C99_STRTOLD): Use a link test rather than a
compile test, for Tru64 4.0D.
-rw-r--r-- | m4/ChangeLog | 5 | ||||
-rw-r--r-- | m4/c-strtod.m4 | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index 00af68ac5..07e28a10a 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a + compile test, for Tru64 4.0D. + 2006-05-24 Jim Meyering <jim@meyering.net> * jm-macros.m4: Require autoconf-2.59d, for its fixed version 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 |