Il 19/03/2012 16:13, Anthony Liguori ha scritto: >> >> -echo " --sysconfdir=PATH install config in PATH/qemu" >> +echo " --sysconfdir=PATH install config in PATH$confsuffix" >> +echo " --confdir=PATH install config in PATH (overrides >> --sysconfdir)" > > These semantics seem odd to me, is this similar to what autotools does?
No, autotools don't have confdir at all. This stuff is outside the scope of autotools. The latest fad is to look for files in /usr/share/PACKAGE/foo (or /usr/lib, depending on whether they depend on the host arch---for QEMU they shouldn't), /etc/PACKAGE/foo and ~/.local/share/PACKAGE/foo. That's likely what we should do here (except perhaps ~/.local): start with --datadir and --sysconfdir, tack /qemu at the end and look in the two resulting directories. Paolo