On HP-UX/PA-RISC machines, it is necessary to define _LARGEFILE_SOURCE in order to expose the prototypes for fseeko() and lseeko(). For some reason, AC_FUNC_FSEEKO decides that this is not necessary.

The compiler produces these warnings during compilation of the test:

cc: "conftest.c", line 13: warning 714: Function "fseeko" called with no 
prototype or definition in scope.
cc: "conftest.c", line 15: warning 508: Statement can never be reached.

It seems that some prerequsite must be missing since defining _LARGEFILE_SOURCE to 1 makes warnings go away when compiling normal application code.

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



Reply via email to