diff --git a/jtag/configure.ac b/jtag/configure.ac index 76563aaa..23b1642a 100644 --- a/jtag/configure.ac +++ b/jtag/configure.ac @@ -160,6 +160,8 @@ fi AC_CHECK_FUNCS(getline getdelim) AC_CHECK_FUNCS(swprintf) +AC_CHECK_FUNC(clock_gettime, [], [ AC_CHECK_LIB(rt, clock_gettime) ]) + AC_CHECK_HEADERS(linux/ppdev.h) VL_LIB_READLINE diff --git a/jtag/src/Makefile.am b/jtag/src/Makefile.am index 7e3691d0..cf6387be 100644 --- a/jtag/src/Makefile.am +++ b/jtag/src/Makefile.am @@ -68,10 +68,5 @@ jtag_LDADD = \ -lm \ @LIBINTL@ -# Removed -lrt (added in 704 for busy loop waiting; not -# available in Cygwin. not needed? If you re-add -lrt here -# please consider to add checks in configure.ac whether -# it is avaiable and really needed - localedir = $(datadir)/locale INCLUDES = -DLOCALEDIR=\"$(localedir)\"