configure: introduce sysconfsuffix

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Paolo Bonzini 2010-05-26 16:08:20 +02:00 committed by Aurelien Jarno
parent 604f78e06e
commit e7b45cc446

10
configure vendored
View File

@ -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"