Is there a autoconf macro to configure generic library that can:
- generates –with configure option
- setup library and include path
- setup compiler/preprocessor and linker flags
- check existence of library and include files
- setup configuration macros
Right now I am doing everything using ARG_WITH, CHECK_LIB, etc. the steps are generic and end up being copy/paste with minor changes. My search the macro archive and did not find generic solution.