Don't define POSIX_SOURCE on any BSDs, since it breaks things.

Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
Don't include validate.c in the library, since it seems to be a userland
    test program.
This commit is contained in:
Eric Anholt 2005-09-13 05:44:47 +00:00
parent c3d6799cee
commit 133edff1b4
4 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,15 @@
2005-09-12 Eric Anholt <anholt@FreeBSD.org>
* configure.ac:
Don't define POSIX_SOURCE on any BSDs, since it breaks things.
* hw/xfree86/int10/Makefile.am:
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
* hw/xfree86/x86emu/Makefile.am:
Don't include validate.c in the library, since it seems to be a userland
test program.
2005-09-12 Daniel Stone <daniel@freedesktop.org>
* configure.ac:

View File

@ -856,7 +856,7 @@ case $host_os in
cygwin*) ;;
solaris*) ;;
darwin*) ;;
openbsd*) ;;
*bsd*) ;;
*)
AC_DEFINE(_POSIX_SOURCE, 1, [POSIX-compliant source])
AC_DEFINE(_XOPEN_SOURCE, 500, [X/Open-compliant source])

View File

@ -18,7 +18,7 @@ libint10_la_SOURCES = \
endif
if INT10_X86EMU
AM_CFLAGS = -D_X86EMU -D_PC $(XORG_CFLAGS)
AM_CFLAGS = -D_X86EMU -DNO_SYS_HEADERS -D_PC $(XORG_CFLAGS)
INCLUDES = $(XORG_INCS) -I$(srcdir)/../x86emu
libint10_la_SOURCES = pci.c xf86int10module.c helper_exec.c helper_mem.c \
xf86int10.c xf86x86emu.c generic.c x86emu.c

View File

@ -7,7 +7,6 @@ libx86emu_a_SOURCES = debug.c \
ops.c \
prim_ops.c \
sys.c \
validate.c \
x86emu.h
INCLUDES =