Is HAVE_CONFIG_H still needed? #241
Replies: 2 comments 10 replies
-
Actually even the Visual Studio projects have config.h and thus HAVE_CONFIG_H defined. 😎
Most likely they have a way to generate them if needed (like even Visual Studio can generate one, though with preset content).
Go ahead! |
Beta Was this translation helpful? Give feedback.
-
Oh, and while we're at the cleanup. The cryptopp-prefix: Why define something when all related files are in one dir. Wouldn't it be easier to just have an -I for this? |
Beta Was this translation helpful? Give feedback.
-
If I see this correct, when building with autotools, config.h is always there. Problems could be plattforms that don't support them. On Win, we have project file that are hardly outdated, and I really would prefer to just remove them, as with cmake they get generated in useable form. If cmake is used, config.h is on windows available, too. I don't know about Mac, but there is somewhere in the issues stated that the project for this is also outdated.
So in my eyes we could remove the HAVE_CONFIG_H define, which could make the commands a bit more readable, and get rid of some code doubling at the same time.
Beta Was this translation helpful? Give feedback.
All reactions