[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pread on HP-UX 11
From: |
Bruno Haible |
Subject: |
Re: pread on HP-UX 11 |
Date: |
Sun, 2 Jan 2011 18:36:37 +0100 |
User-agent: |
KMail/1.9.9 |
> 2010-12-31 Bruno Haible <address@hidden>
>
> pread: Work around HP-UX 11 bugs.
> * m4/pread.m4 (gl_FUNC_PREAD): When pread exists, test whether it
> works
> and set REPLACE_PREAD if not.
> * doc/posix-functions/pread.texi: Document the HP-UX 11 bugs.
Oops, this patch was broken: I confused AC_LANG_SOURCE and AC_LANG_PROGRAM.
Fix:
2011-01-02 Bruno Haible <address@hidden>
pread: Fix test whether it works.
* m4/pread.m4 (gl_FUNC_PREAD): Use AC_LANG_PROGRAM, not AC_LANG_SOURCE.
--- m4/pread.m4.orig Sun Jan 2 18:34:07 2011
+++ m4/pread.m4 Sun Jan 2 17:38:47 2011
@@ -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 <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: pread on HP-UX 11,
Bruno Haible <=