I am trying to build a library with a different build system, but files in the library require a config.h
header file that is generated after running the configure scripts generated by autoconf.
This is the sequence of steps I am following to try and generate the config.h
file that is needed
autoreconf -ivf
./configure --disable-dependency-tracking
The build system guarantees that the library gflags
will be linked and the headers will be available at preprocessing time. But the configure
script exits with the following error
configure: error: Please install google-gflags library
Is there some way I can get the list of required libraries (such as gflags) and then pass arguments to the configure script that tells it to assume that this library exists on the system? I went through the help output for both autoreconf
and ./configure
and wasn't able to figure this out.
Sorry for the long explanation and problem. I am very new to autoconf
, etc.