autoconf/automake/libtool-ized thrift cpp bits:
    Fixed to build on solaris.
    Used clock_gettime() where available
    Fixed rounding of time to ms

			       


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664733 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/configure.ac b/lib/cpp/configure.ac
index a269df6..77a4f32 100644
--- a/lib/cpp/configure.ac
+++ b/lib/cpp/configure.ac
@@ -34,6 +34,10 @@
 
 AC_CHECK_LIB(pthread, pthread_create)
 
+AC_CHECK_LIB(rt, sched_get_priority_min)
+
+AC_CHECK_FUNCS([clock_gettime])
+
 AC_C_CONST
 
 AC_C_VOLATILE