Mercurial > hg > octave-lojdl > gnulib-hg
changeset 6808:c0801910bd92
* c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
compile test, for Tru64 4.0D.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 28 May 2006 09:17:17 +0000 |
parents | db206fe9e82c |
children | a39b9b6e6ca2 |
files | m4/ChangeLog m4/c-strtod.m4 |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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-19 Paul Eggert <eggert@cs.ucla.edu> * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
--- 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_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