Auto-detect whether -lrt is needed.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@826 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent 15d0e05ba2
commit 60d4b62384

@ -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

@ -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)\"

Loading…
Cancel
Save