mirror of https://gitee.com/openkylin/qemu.git
configure: introduce sysconfsuffix
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
604f78e06e
commit
e7b45cc446
|
@ -1972,9 +1972,7 @@ if test "$mingw32" = "yes" ; then
|
||||||
confsuffix=""
|
confsuffix=""
|
||||||
docsuffix=""
|
docsuffix=""
|
||||||
binsuffix=""
|
binsuffix=""
|
||||||
if test -z "$sysconfdir" ; then
|
sysconfsuffix=""
|
||||||
sysconfdir="${prefix}"
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
if test -z "$prefix" ; then
|
if test -z "$prefix" ; then
|
||||||
prefix="/usr/local"
|
prefix="/usr/local"
|
||||||
|
@ -1983,11 +1981,11 @@ else
|
||||||
datasuffix="/share/qemu"
|
datasuffix="/share/qemu"
|
||||||
docsuffix="/share/doc/qemu"
|
docsuffix="/share/doc/qemu"
|
||||||
binsuffix="/bin"
|
binsuffix="/bin"
|
||||||
if test -z "$sysconfdir" ; then
|
sysconfsuffix="/etc"
|
||||||
sysconfdir="${prefix}/etc"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
: ${sysconfdir:="${prefix}$sysconfsuffix"}
|
||||||
|
|
||||||
echo "Install prefix $prefix"
|
echo "Install prefix $prefix"
|
||||||
echo "BIOS directory $prefix$datasuffix"
|
echo "BIOS directory $prefix$datasuffix"
|
||||||
echo "binary directory $prefix$binsuffix"
|
echo "binary directory $prefix$binsuffix"
|
||||||
|
|
Loading…
Reference in New Issue