sys: MacOS X driver ported from NetBSD

This commit is contained in:
Bryan Christianson
2015-06-13 07:56:39 +12:00
committed by Miroslav Lichvar
parent 8de04a808d
commit d6aafa3f64
8 changed files with 378 additions and 3 deletions

7
configure vendored
View File

@@ -404,6 +404,13 @@ case $SYSTEM in
SYSDEFS=""
echo "Configuring for $SYSTEM"
;;
Darwin-* )
EXTRA_OBJECTS="sys_macosx.o"
EXTRA_LIBS="-lresolv"
EXTRA_CLI_LIBS="-lresolv"
add_def MACOSX
echo "Configuring for MacOS X (" $SYSTEM "MacOS X version" $VERSION ")"
;;
SunOS-i86pc* )
# Doug Woodward <dougw@whistler.com> reported that this configuration
# works for Solaris 2.8 / SunOS 5.8 on x86 platforms