20 lines
623 B
Diff
20 lines
623 B
Diff
|
diff -Naur qemu-kvm-1.2.0-orig/configure qemu-kvm-1.2.0/configure
|
||
|
--- qemu-kvm-1.2.0-orig/configure 2012-09-06 04:31:27.000000000 -0400
|
||
|
+++ qemu-kvm-1.2.0/configure 2013-02-15 11:04:45.923477251 -0500
|
||
|
@@ -2682,13 +2682,14 @@
|
||
|
cat > $TMPC <<EOF
|
||
|
#include <signal.h>
|
||
|
#include <time.h>
|
||
|
-int main(void) { return clock_gettime(CLOCK_REALTIME, NULL); }
|
||
|
+int main(void) { return timer_gettime(CLOCK_REALTIME, NULL); }
|
||
|
EOF
|
||
|
|
||
|
if compile_prog "" "" ; then
|
||
|
:
|
||
|
elif compile_prog "" "-lrt" ; then
|
||
|
LIBS="-lrt $LIBS"
|
||
|
+ libs_qga="-lrt $libs_qga"
|
||
|
fi
|
||
|
|
||
|
if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \
|