From fa1340adb603e76d7cadfc6d1d6b68ea97e7f7b0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 28 May 2006 09:17:17 +0000 Subject: [PATCH] * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a compile test, for Tru64 4.0D. --- m4/ChangeLog | 5 +++++ m4/c-strtod.m4 | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index 11a7d875b..5695ebe40 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-05-28 Ralf Wildenhues + + * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a + compile test, for Tru64 4.0D. + 2006-05-19 Paul Eggert * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use 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 -- 2.11.0