Detect librt availability
commit488f7b53b49a1253b3eef12b7482efe2b55f450e
authorAlberto Bertogli <albertito@blitiri.com.ar>
Fri, 26 Jun 2009 06:21:51 +0000 (26 03:21 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Fri, 26 Jun 2009 06:38:48 +0000 (26 03:38 -0300)
tree2ae8b64ba77a4052065eb077a2c8a65c15766a41
parentb362314efb9858e5bcad156a9bbac97f61f0e71e
Detect librt availability

This patch checks if librt is available, so we don't link against it if
not. POSIX says it should be, but some systems do not have it
(DragonflyBSD, for example).

It's not very nice, but it does the trick.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
libjio/Makefile