From 3fd56be69a03023257f7e2087ebe1df5c4e036a8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 2 Jan 2011 18:35:20 +0100 Subject: [PATCH] pread: Fix test whether it works. * m4/pread.m4 (gl_FUNC_PREAD): Use AC_LANG_PROGRAM, not AC_LANG_SOURCE. --- ChangeLog | 5 +++++ m4/pread.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 427b4b33a..f72058a8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-01-02 Bruno Haible + pread: Fix test whether it works. + * m4/pread.m4 (gl_FUNC_PREAD): Use AC_LANG_PROGRAM, not AC_LANG_SOURCE. + +2011-01-02 Bruno Haible + Fix detection of traditional Arabic locale on HP-UX, Solaris, Cygwin. * m4/locale-ar.m4 (gt_LOCALE_AR): Require that the locale encoding name ends in "6". Don't require a specific month name. Try also the locale diff --git a/m4/pread.m4 b/m4/pread.m4 index c6d1888f3..92e8da360 100644 --- a/m4/pread.m4 +++ b/m4/pread.m4 @@ -1,4 +1,4 @@ -# pread.m4 serial 3 +# pread.m4 serial 4 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -32,7 +32,7 @@ changequote([,])dnl gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" AC_RUN_IFELSE( - [AC_LANG_SOURCE([[ + [AC_LANG_PROGRAM([[ #include #include #include -- 2.11.0