Hello,

Bob Friesenhahn wrote:
On Thu, 10 Jan 2008, Rainer Tammer wrote:

With gcc 4.0.0 I need to include:

libltdl/ltdl.c
#include <sys/access.h>

R_OK is undefined

Does using

  #include <unistd.h>

not work as it should?

No,
problem see below.
Perhaps there is a fixincludes bug in this old double oh (double oh indicates suspect) GCC version?
No, its a configure problem.
The problem is that:

gcc build libltdl/config.h:
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */

IBM C/C++ build: libltdl/config.h
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1


Bob
Bye
 Rainer
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to