mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:05:06 -05:00
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:
11
configure
vendored
11
configure
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user