A ''librados-config'' binary might be usefull here. This is also used by libcurl, libxml2 and PHP.
For example:
wido@wido-laptop:~$ curl-config --features
SSL
IPv6
libz
IDN
NTLM
wido@wido-laptop:~$ curl-config --version
libcurl 7.19.7
wido@wido-laptop:~$ curl-config --vernum
071307
wido@wido-laptop:~$ curl-config --libs
-lcurl
wido@wido-laptop:~$
wido@wido-laptop:~$ php-config --libs
-lcrypt -lz -lcrypt -lssl -ldb -lbz2 -lz -lpcre -lssl -lrt -lm -ldl -lnsl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lxml2 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lxml2 -lcrypt
wido@wido-laptop:~$ php-config --vernum
50302
wido@wido-laptop:~$ php-config --version
5.3.2-1ubuntu4.2
wido@wido-laptop:~$
Librados could implement (where i think version and vernum are semi-mandatory):
wido@wido-laptop:~$ librados-config --version
0.22-rc1
wido@wido-laptop:~$ librados-config --vernum
02201
wido@wido-laptop:~$ librados-config --features
LARGE_FILE
IPV6
AIO
wido@wido-laptop:~$
This is a common used method to get information from libraries during configure time. During the configure process you can invoke librados-config and check wether it has the right version, right features, etc, etc.