Check whether a real librt is present and use it if necessary
This commit is contained in:
@@ -202,6 +202,11 @@ if test "$with_prof" = "yes"; then
|
|||||||
test "$DEFAULT_LDFLAGS" = "yes" && LDFLAGS="$LDFLAGS -pg"
|
test "$DEFAULT_LDFLAGS" = "yes" && LDFLAGS="$LDFLAGS -pg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Usually in libc, but not always(?)
|
||||||
|
if test "$unix" = "yes"; then
|
||||||
|
AC_SEARCH_LIBS(clock_gettime, rt,, AC_ERROR([clock_gettime() not available?]))
|
||||||
|
fi
|
||||||
|
|
||||||
SM_OPENGL
|
SM_OPENGL
|
||||||
SM_X11
|
SM_X11
|
||||||
GL_CFLAGS="$GL_CFLAGS $XCFLAGS"
|
GL_CFLAGS="$GL_CFLAGS $XCFLAGS"
|
||||||
|
|||||||
Reference in New Issue
Block a user