mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-25 15:14:31 +00:00
configure: change meaning of --datadir to Autoconf convention
Autoconf uses --datadir for the /usr/share directory, not the program-specific subdirectory inside /usr/share. This changes configure to match autoconf behavior. Note that this will break compatibility with existing build scripts. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0b3b717470
commit
528ae5b850
9
configure
vendored
9
configure
vendored
@ -155,7 +155,7 @@ mingw32="no"
|
|||||||
EXESUF=""
|
EXESUF=""
|
||||||
prefix="/usr/local"
|
prefix="/usr/local"
|
||||||
mandir="\${prefix}/share/man"
|
mandir="\${prefix}/share/man"
|
||||||
qemu_datadir="\${prefix}/share/qemu"
|
datadir="\${prefix}/share"
|
||||||
qemu_docdir="\${prefix}/share/doc/qemu"
|
qemu_docdir="\${prefix}/share/doc/qemu"
|
||||||
bindir="\${prefix}/bin"
|
bindir="\${prefix}/bin"
|
||||||
libdir="\${prefix}/lib"
|
libdir="\${prefix}/lib"
|
||||||
@ -521,7 +521,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
prefix="c:/Program Files/QEMU"
|
prefix="c:/Program Files/QEMU"
|
||||||
mandir="\${prefix}"
|
mandir="\${prefix}"
|
||||||
qemu_datadir="\${prefix}"
|
datadir="\${prefix}"
|
||||||
qemu_docdir="\${prefix}"
|
qemu_docdir="\${prefix}"
|
||||||
bindir="\${prefix}"
|
bindir="\${prefix}"
|
||||||
sysconfdir="\${prefix}"
|
sysconfdir="\${prefix}"
|
||||||
@ -589,7 +589,7 @@ for opt do
|
|||||||
;;
|
;;
|
||||||
--includedir=*) includedir="$optarg"
|
--includedir=*) includedir="$optarg"
|
||||||
;;
|
;;
|
||||||
--datadir=*) qemu_datadir="$optarg"
|
--datadir=*) datadir="$optarg"
|
||||||
;;
|
;;
|
||||||
--docdir=*) qemu_docdir="$optarg"
|
--docdir=*) qemu_docdir="$optarg"
|
||||||
;;
|
;;
|
||||||
@ -1007,7 +1007,7 @@ echo " --python=PYTHON use specified python [$python]"
|
|||||||
echo " --smbd=SMBD use specified smbd [$smbd]"
|
echo " --smbd=SMBD use specified smbd [$smbd]"
|
||||||
echo " --static enable static build [$static]"
|
echo " --static enable static build [$static]"
|
||||||
echo " --mandir=PATH install man pages in PATH"
|
echo " --mandir=PATH install man pages in PATH"
|
||||||
echo " --datadir=PATH install firmware in PATH"
|
echo " --datadir=PATH install firmware in PATH/qemu"
|
||||||
echo " --docdir=PATH install documentation in PATH"
|
echo " --docdir=PATH install documentation in PATH"
|
||||||
echo " --bindir=PATH install binaries in PATH"
|
echo " --bindir=PATH install binaries in PATH"
|
||||||
echo " --sysconfdir=PATH install config in PATH/qemu"
|
echo " --sysconfdir=PATH install config in PATH/qemu"
|
||||||
@ -2880,6 +2880,7 @@ if test "$mingw32" = "yes" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
qemu_confdir=$sysconfdir$confsuffix
|
qemu_confdir=$sysconfdir$confsuffix
|
||||||
|
qemu_datadir=$datadir$confsuffix
|
||||||
|
|
||||||
tools=
|
tools=
|
||||||
if test "$softmmu" = yes ; then
|
if test "$softmmu" = yes ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user