I am working on a project that requires the targets in Makefile.am change with the flags passed during ./configure.
To be more specific, if ./configure is invoked with the --enable-threads option, then the check target for make should also execute the relevant tests. So in Makefile.am I would like to be able to identify if configure was called with --enable-threads or no.