Merged to get latest fixe
Fixed a bug into target demos.
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])
Fixes #34

Enhanced configure handling (Linux & AIX)
Merge branch 'v3.0'