OSDN Git Service

Test for sys/syscall.h in configure to fix dietlibc build problem
authorTheodore Ts'o <tytso@mit.edu>
Mon, 31 Dec 2007 19:36:48 +0000 (14:36 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 Jan 2008 03:34:25 +0000 (22:34 -0500)
commit29dd9d1e90c8ccefa2f8bdc6463694edc3a909d7
tree01b02330d07d527faf63a0cc11f212009c950915
parent61a679d4d78436e5f050a2fbd9fc174fc4d331ec
Test for sys/syscall.h in configure to fix dietlibc build problem

When compiling with dietlibc, sys/syscall.h isn't supported; as of
dietlibc 0.30, it exists but it references a non-existent asm/unistd.h
header file.  So we have to test for its existence and avoid using it
in lib/uuid/gen_uuid.c if it is not supported.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
configure
configure.in
lib/uuid/gen_uuid.c