diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-05-26 16:08:20 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-10 00:09:48 +0200 |
commit | e7b45cc4467f9bbae46acdc8d21ceb2a16d63b50 (patch) | |
tree | 2055c85f86c53c06d9ef16d260e9f7c31de056b4 /configure | |
parent | 604f78e06e41526924890d83f9dab168268f4702 (diff) |
configure: introduce sysconfsuffix
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1972,9 +1972,7 @@ if test "$mingw32" = "yes" ; then confsuffix="" docsuffix="" binsuffix="" - if test -z "$sysconfdir" ; then - sysconfdir="${prefix}" - fi + sysconfsuffix="" else if test -z "$prefix" ; then prefix="/usr/local" @@ -1983,11 +1981,11 @@ else datasuffix="/share/qemu" docsuffix="/share/doc/qemu" binsuffix="/bin" - if test -z "$sysconfdir" ; then - sysconfdir="${prefix}/etc" - fi + sysconfsuffix="/etc" fi +: ${sysconfdir:="${prefix}$sysconfsuffix"} + echo "Install prefix $prefix" echo "BIOS directory $prefix$datasuffix" echo "binary directory $prefix$binsuffix" |