sys: use timex driver on FreeBSD

Switch from the SunOS adjtime() based driver to the timex driver.
There is no FreeBSD-specific code, so call SYS_Timex_Initialise()
and SYS_Timex_Finalise() directly from sys.c.
This commit is contained in:
Miroslav Lichvar
2015-09-15 18:43:43 +02:00
parent c075c070f0
commit bf57222e96
2 changed files with 10 additions and 7 deletions

11
configure vendored
View File

@@ -410,13 +410,10 @@ case $SYSTEM in
fi
;;
BSD/386-i[3456]86|FreeBSD-i386|FreeBSD-amd64 )
# Antti Jrvinen <costello@iki.fi> reported that this system can
# be supported with the SunOS 4.x driver files.
EXTRA_OBJECTS="sys_sunos.o strerror.o"
EXTRA_LIBS="-lkvm"
add_def SUNOS
echo "Configuring for $SYSTEM (using SunOS driver)"
FreeBSD-i386|FreeBSD-amd64 )
EXTRA_OBJECTS="sys_generic.o sys_timex.o"
add_def FREEBSD
echo "Configuring for $SYSTEM"
;;
NetBSD-* )
EXTRA_OBJECTS="sys_generic.o sys_netbsd.o sys_timex.o"