AC_CHECK_LIB([pthread], [pthread_create],[],[echo "missing dependency." ; exit -9])
AC_CHECK_LIB([yaml], [yaml_parser_initialize],[],[echo "missing dependency (check http://pyyaml.org/wiki/LibYAML)." ; exit -1])