configure: expand path variables for meson configure
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
25211446ec
commit
22a87800e6
35
configure
vendored
35
configure
vendored
@ -415,16 +415,7 @@ LDFLAGS_SHARED="-shared"
|
|||||||
modules="no"
|
modules="no"
|
||||||
module_upgrades="no"
|
module_upgrades="no"
|
||||||
prefix="/usr/local"
|
prefix="/usr/local"
|
||||||
mandir="\${prefix}/share/man"
|
|
||||||
datadir="\${prefix}/share"
|
|
||||||
firmwarepath="\${prefix}/share/qemu-firmware"
|
firmwarepath="\${prefix}/share/qemu-firmware"
|
||||||
qemu_docdir="\${prefix}/share/doc/qemu"
|
|
||||||
bindir="\${prefix}/bin"
|
|
||||||
libdir="\${prefix}/lib"
|
|
||||||
libexecdir="\${prefix}/libexec"
|
|
||||||
includedir="\${prefix}/include"
|
|
||||||
sysconfdir="\${prefix}/etc"
|
|
||||||
local_statedir="\${prefix}/var"
|
|
||||||
confsuffix="/qemu"
|
confsuffix="/qemu"
|
||||||
slirp=""
|
slirp=""
|
||||||
oss_lib=""
|
oss_lib=""
|
||||||
@ -979,12 +970,6 @@ if test "$mingw32" = "yes" ; then
|
|||||||
LIBS="-liberty $LIBS"
|
LIBS="-liberty $LIBS"
|
||||||
fi
|
fi
|
||||||
prefix="c:/Program Files/QEMU"
|
prefix="c:/Program Files/QEMU"
|
||||||
mandir="\${prefix}"
|
|
||||||
datadir="\${prefix}"
|
|
||||||
qemu_docdir="\${prefix}"
|
|
||||||
bindir="\${prefix}"
|
|
||||||
sysconfdir="\${prefix}"
|
|
||||||
local_statedir=
|
|
||||||
confsuffix=""
|
confsuffix=""
|
||||||
libs_qga="-lws2_32 -lwinmm -lpowrprof -lwtsapi32 -lwininet -liphlpapi -lnetapi32 $libs_qga"
|
libs_qga="-lws2_32 -lwinmm -lpowrprof -lwtsapi32 -lwininet -liphlpapi -lnetapi32 $libs_qga"
|
||||||
fi
|
fi
|
||||||
@ -1638,6 +1623,26 @@ for opt do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
libdir="${libdir:-$prefix/lib}"
|
||||||
|
libexecdir="${libexecdir:-$prefix/libexec}"
|
||||||
|
includedir="${includedir:-$prefix/include}"
|
||||||
|
|
||||||
|
if test "$mingw32" = "yes" ; then
|
||||||
|
mandir="$prefix"
|
||||||
|
datadir="$prefix"
|
||||||
|
qemu_docdir="$prefix"
|
||||||
|
bindir="$prefix"
|
||||||
|
sysconfdir="$prefix"
|
||||||
|
local_statedir=
|
||||||
|
else
|
||||||
|
mandir="${mandir:-$prefix/share/man}"
|
||||||
|
datadir="${datadir:-$prefix/share}"
|
||||||
|
qemu_docdir="${qemu_docdir:-$prefix/share/doc/qemu}"
|
||||||
|
bindir="${bindir:-$prefix/bin}"
|
||||||
|
sysconfdir="${sysconfdir:-$prefix/etc}"
|
||||||
|
local_statedir="${local_statedir:-$prefix/var}"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$cpu" in
|
case "$cpu" in
|
||||||
ppc)
|
ppc)
|
||||||
CPU_CFLAGS="-m32"
|
CPU_CFLAGS="-m32"
|
||||||
|
Loading…
Reference in New Issue
Block a user