How can I check that GCC precompiled headers are supported with autoconf? Is there a macro like AC_CHECK_GCH? The project I am working on contains a lot of templates and includes, I used to be the most used. H has tried to write and compiled it manually. It may be good to integrate it with the rest of the autos.
It is not clear what you are expecting to complete. Are you expecting to distribute a precompiled header in your tarball? Doing so will almost completely useless. (I really think this would be totally useless, but I say "almost" because I'm missing something.) System headers (the machine on which your project is being created) on the target box are almost certainly If your development box is different from people, there is no need to use autoconf.
If a user of your package uses GCC and wants to use the precompiled headers, they will keep .gch files in the proper place and the GCC will use them. You do not need to do anything in your package.
Comments
Post a Comment