[inn-current] -D_GNU_SOURCE missing in 'configure' for Linux
Russ Allbery
rra at stanford.edu
Sat Jan 10 08:27:58 UTC 2004
Christophe Wolfhugel <wolf at oleane.net> writes:
> 'configure' is not finding the declaration of pread :
> checking whether pread is declared... no
> checking for pread... yes
> It will then be declared in clibrary.h with the 64-bit off_t :
> extern ssize_t pread(int, void *, size_t, off_t);
> But a "strace" of the process still shows that the 32-bit pread is
> being used.
Ahh... now I understand. That makes sense. I'll go fiddle with
configure.ac to make sure that it adds _GNU_SOURCE. I'm trying to
remember why it was that Autoconf didn't do this automatically. I think
it was because of the side effects, but we already fixed that in INN a
long time back.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list