summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFrancois Gouget <fgouget@codeweavers.com>2015-06-11 19:38:29 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-06-29 17:50:26 +0200
commit4ad3025249c1daea55fa7c0322258796ecab99c4 (patch)
treed0f6f499c7779fdab08f156425f092f01284a35c /configure.ac
parente4a42e50c2d0558583301309feb6f349ca4af0c5 (diff)
downloadspice-4ad3025249c1daea55fa7c0322258796ecab99c4.tar.gz
spice-4ad3025249c1daea55fa7c0322258796ecab99c4.tar.xz
spice-4ad3025249c1daea55fa7c0322258796ecab99c4.zip
HAVE_CLOCK_GETTIME is not used so remove it.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 9c92cc6f..5b4caa4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,10 +98,7 @@ AC_SUBST(COMMON_CFLAGS)
AC_CHECK_LIBM
AC_SUBST(LIBM)
-AC_CHECK_LIB(rt, clock_gettime,
- AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Defined if we have clock_gettime()])
- LIBRT=-lrt
- )
+AC_CHECK_LIB(rt, clock_gettime, LIBRT="-lrt")
AC_SUBST(LIBRT)
AS_VAR_APPEND([SPICE_NONPKGCONFIG_LIBS], [" -pthread $LIBM $LIBRT"])