Some platforms, such as Mac OS X, do not have librt. Signed-off-by: Vinson Lee <v...@freedesktop.org> --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac index 6735fdc..9b9a0ad 100644 --- a/configure.ac +++ b/configure.ac @@ -500,8 +500,7 @@ AC_CHECK_FUNC([dlopen], [DEFINES="$DEFINES -DHAVE_DLOPEN"], AC_SUBST([DLOPEN_LIBS]) AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=], - [AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt], - [AC_MSG_ERROR([Couldn't find clock_gettime])])]) + [AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt])]) AC_SUBST([CLOCK_LIB]) dnl See if posix_memalign is available -- 1.7.12.4 (Apple Git-37) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev