It's probably an artefact from the autotools era.
Note that it's:

 21 #ifdef HAVE_CONFIG_H
 22 #include "config.h"
 23 #endif

So the include is never called.

These config.h files are usually generated by the build process, and
provide information about the system you're building on. CMake handles
that a bit differently, so we don't really use these anymore.

We could of course generate such a file with CMake, but we currently don't.

Cheers,
M


On 10/24/2014 11:19 AM, David Marmoy wrote:
> Hi
> 
> I am writing an out-of-tree module and have used the gr_modtool to
> generate the module and block skeletons. All the block source files
> include a config.h file, but I have not been able to find documentation
> of its use or location anywhere. 
> 
> Does anyone know what it is used for and how?
> 
> Thank you, 
> 
> David Marmoy
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to