+CHECK_WANT([LV2], [auto], [use lv2], [
+ CHECK_LIB([lv2], [lilv-0], [lilv_world_new])
+ CHECK_LIB([sord], [sord-0], [sord_world_new])
+ CHECK_LIB([serd], [serd-0], [serd_reader_new])
+ CHECK_LIB([sratom], [sratom-0], [sratom_new])
+ saved_CFLAGS="$CXXFLAGS"
+ CFLAGS="-I/usr/include/lilv-0"
+ CHECK_HEADERS([lv2], [lilv headers], [lilv/lilv.h])
+ CFLAGS="$saved_CXXFLAGS"])
+