build-sys: add --disable-hwclock
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
834fc88cd4
commit
6acf31ac5c
1 changed files with 8 additions and 3 deletions
11
configure.ac
11
configure.ac
|
@ -966,9 +966,14 @@ UL_BUILD_INIT([bfs])
|
|||
AM_CONDITIONAL(BUILD_BFS, test "x$build_bfs" = xyes)
|
||||
|
||||
|
||||
if test "x$have_io" = xyes -o "x$linux_os" = xyes; then
|
||||
build_hwclock=yes
|
||||
fi
|
||||
AC_ARG_ENABLE([hwclock],
|
||||
AS_HELP_STRING([--disable-hwclock], [do not build hwclock]),
|
||||
[], enable_hwclock=check
|
||||
)
|
||||
have_linuxdummy=$linux_os
|
||||
|
||||
UL_BUILD_INIT([hwclock])
|
||||
UL_REQUIRES_HAVE([hwclock], [io, linuxdummy], [ioperm iopl function or Linux])
|
||||
AM_CONDITIONAL(BUILD_HWCLOCK, test "x$build_hwclock" = xyes)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue