On 01/25/2010 03:05 PM, Paolo Bonzini wrote:
I'm not sure about the choice for Windows. Do we want possibly a
dozen of .conf files all in the same directory as the binaries, or
maybe it's better to set sysconfdir = ${prefix}/conf,
confdir=${sysconfdir} on Windows?
I honestly don't know. What's the normal thing to do with Windows?
The registry, I think.
The registry would be used indeed to get the path or to override
defaults. However, what would be the default value (written in the
registry by the installer, or used by the program if the registry
value is absent)?
ini-style configs are not at all uncommon on Windows. I also don't
think it's that uncommon to store executables and config files
side-by-side in a Program Files directory.
Regards,
Anthony Liguori
Paolo