On NetBSD, add -li386 for i386 and -lx86_64 for x86_64 to SYS_LIBS. (x86_64

on NetBSD not tested.)
This commit is contained in:
Jeremy C. Reed 2006-05-24 22:43:13 +00:00
parent b3031532ca
commit 9477e5e0be
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-05-24 Jeremy C. Reed <reed@reedmedia.net>
* configure.ac:
On NetBSD, add -li386 for i386 and -lx86_64 for x86_64 to
SYS_LIBS. (x86_64 on NetBSD not tested.)
2006-05-24 Jeremy C. Reed <reed@reedmedia.net>
reviewed by: Daniel Stone

View File

@ -202,7 +202,9 @@ case $host_cpu in
case $host_os in
*linux*) DEFAULT_INT10=vm86 ;;
*freebsd*) AC_DEFINE(USE_DEV_IO) ;;
*netbsd*) AC_DEFINE(USE_I386_IOPL) ;;
*netbsd*) AC_DEFINE(USE_I386_IOPL)
SYS_LIBS=-li386
;;
*openbsd*) AC_DEFINE(USE_I386_IOPL)
SYS_LIBS=-li386
;;
@ -224,7 +226,9 @@ case $host_cpu in
I386_VIDEO=yes
case $host_os in
*freebsd*) AC_DEFINE(USE_DEV_IO, 1, [BSD /dev/io]) ;;
*netbsd*) AC_DEFINE(USE_I386_IOPL, 1, [BSD i386 iopl]) ;;
*netbsd*) AC_DEFINE(USE_I386_IOPL, 1, [BSD i386 iopl])
SYS_LIBS=-lx86_64
;;
*openbsd*) AC_DEFINE(USE_AMD64_IOPL, 1, [BSD AMD64 iopl])
SYS_LIBS=-lamd64
;;