# HG changeset patch # User Bruno Haible # Date 1293989720 -3600 # Node ID 64c43f976cf4cb176be497b1b372a03d40fdcdab # Parent 97a98716cf16d86109fd5bd8712f65775edb0e78 pread: Fix test whether it works. * m4/pread.m4 (gl_FUNC_PREAD): Use AC_LANG_PROGRAM, not AC_LANG_SOURCE. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/m4/pread.m4 b/m4/pread.m4 --- 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 @@ gl_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" AC_RUN_IFELSE( - [AC_LANG_SOURCE([[ + [AC_LANG_PROGRAM([[ #include #include #include