The answer to your question: no, it is not possible to get a list of dependencies on autotools.
Why?
Well, autotools does not track dependencies at all. Instead, it checks for specific functions in the system (for example, a given header file or a given library file). Now a particular header file can come from many sources, for example. depending on your distribution, the header foo.h can be set via
libfoo-dev (Debian and derivatives)foo-devel (Fedora)foo (upstream)- ...
In your particular case, the developers of your project will display a good error message telling you to install this package by name.
The drafters of your project also decided to abandon the fatal error if this dependency is not available. The reason may be that the project simply will not work without this dependency, and this is impossible without compiling the program.
Example
Your project can be written in C++ and, therefore, you need a C++ compiler. Obviously, when transmitting some flags it is not enough to use. / configure, therefore, assumes that there is a C ++ compiler if it really isn’t.
There is hope
However, not everything is bad. Your configure script may be able to disable certain functions (apparently these are strict default requirements).
Just check ./configure --help and find flags like
--enable-FOO--disable-FOO--with-BAR--without-BAR
automation?
One thing that autotools needs to know is that configure really is a program ( configure.ac source code) written in some secret programming language (involving bash and m4 ), which means that it can practically have any behavior, and there’s no single standard way to achieve dependency tracking.
source share