2019-12-30 Corentin Gay <gay@adacore.com>
* acinclude.m4 (vxworks*): New entry. Set ac_has_nanosleep=yes.
* configure: Regenerate.
From-SVN: r279796
+2019-12-30 Corentin Gay <gay@adacore.com>
+
+ * acinclude.m4 (vxworks*): New entry. Set ac_has_nanosleep=yes.
+ * configure: Regenerate.
+
2019-12-30 Jerome Lambourg <lambourg@adacore.com>
Olivier Hainque <hainque@adacore.com>
ac_has_nanosleep=yes
ac_has_sched_yield=yes
;;
+ # VxWorks has nanosleep as soon as the kernel is configured with
+ # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
+ vxworks*)
+ ac_has_nanosleep=yes
+ ;;
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
AC_MSG_CHECKING([for at least GNU libc 2.17])
AC_TRY_COMPILE(
ac_has_nanosleep=yes
ac_has_sched_yield=yes
;;
+ # VxWorks has nanosleep as soon as the kernel is configured with
+ # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
+ vxworks*)
+ ac_has_nanosleep=yes
+ ;;
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
$as_echo_n "checking for at least GNU libc 2.17... " >&6; }