This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to install "config.h"



    >> And use `#include <your-package-name/config.h>' in all other
    >> headers that include it.

    Ossama> BTW, I do exactly what Alexandre suggests in some of my
    Ossama> own packages.  It works out quite nicely.

But be careful: if any of the C code in the package itself includes
<your-package-name/config.h> you might be in for a nasty surprise: if
a version is already installed and a user is compiling a new version
from source, that user will pick up the installed .h files which will
not be consistent with the source.  I've seen this happen.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]