blob: 3122c92b489110c4b5dd423daea0dbe72d1282d6 (
plain)
1
2
3
4
5
6
7
8
|
##########################################################################
# Check for POSIX timer functions
##########################################################################
AC_CHECK_LIB([rt], [timer_create], [TIMER_LIBS="-lrt"],
[AC_CHECK_LIB([posix4], [timer_create], [TIMER_LIBS="-lposix4"],
[AC_MSG_FAILURE([timer_create not found])])])
AC_SUBST([TIMER_LIBS])
|