blob: 46704b9d3fe5b2849ed29f50b12c7ef4221b3195 [file] [log] [blame]
inline ntp syscalls fallback
Reference:
https://bugs.ntp.org/show_bug.cgi?id=769
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: ntp-4.2.8p17/configure.ac
===================================================================
--- ntp-4.2.8p17.orig/configure.ac
+++ ntp-4.2.8p17/configure.ac
@@ -1472,11 +1472,11 @@ AC_CACHE_CHECK(
[ntp_cv_var_ntp_syscalls],
[
ntp_cv_var_ntp_syscalls=no
- case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in
+ case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex$ac_cv_func_adjtimex" in
yesyes*)
ntp_cv_var_ntp_syscalls=libc
;;
- *yes)
+ *yesyes | *yesno | *noyes)
ntp_cv_var_ntp_syscalls=inline
;;
*)