Fix "make install prefix=/somewhere".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2452 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
430415f2b1
commit
308c359325
44
configure
vendored
44
configure
vendored
|
@ -559,28 +559,28 @@ if [ -x "`which texi2html`" ] && [ -x "`which pod2man`" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$mingw32" = "yes" ; then
|
if test "$mingw32" = "yes" ; then
|
||||||
if test -z "$prefix" ; then
|
if test -z "$prefix" ; then
|
||||||
prefix="/c/Program Files/Qemu"
|
prefix="/c/Program Files/Qemu"
|
||||||
fi
|
fi
|
||||||
mandir="$prefix"
|
mansuffix=""
|
||||||
datadir="$prefix"
|
datasuffix=""
|
||||||
docdir="$prefix"
|
docsuffix=""
|
||||||
bindir="$prefix"
|
binsuffix=""
|
||||||
else
|
else
|
||||||
if test -z "$prefix" ; then
|
if test -z "$prefix" ; then
|
||||||
prefix="/usr/local"
|
prefix="/usr/local"
|
||||||
fi
|
fi
|
||||||
mandir="$prefix/share/man"
|
mansuffix="/share/man"
|
||||||
datadir="$prefix/share/qemu"
|
datasuffix="/share/qemu"
|
||||||
docdir="$prefix/share/doc/qemu"
|
docsuffix="/share/doc/qemu"
|
||||||
bindir="$prefix/bin"
|
binsuffix="/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Install prefix $prefix"
|
echo "Install prefix $prefix"
|
||||||
echo "BIOS directory $datadir"
|
echo "BIOS directory $prefix$datasuffix"
|
||||||
echo "binary directory $bindir"
|
echo "binary directory $prefix$binsuffix"
|
||||||
if test "$mingw32" = "no" ; then
|
if test "$mingw32" = "no" ; then
|
||||||
echo "Manual directory $mandir"
|
echo "Manual directory $prefix$mansuffix"
|
||||||
echo "ELF interp prefix $interp_prefix"
|
echo "ELF interp prefix $interp_prefix"
|
||||||
fi
|
fi
|
||||||
echo "Source path $source_path"
|
echo "Source path $source_path"
|
||||||
|
@ -640,11 +640,11 @@ echo "# Configured with: $0 $@" >> $config_mak
|
||||||
echo "/* Automatically generated by configure - do not modify */" > $config_h
|
echo "/* Automatically generated by configure - do not modify */" > $config_h
|
||||||
|
|
||||||
echo "prefix=$prefix" >> $config_mak
|
echo "prefix=$prefix" >> $config_mak
|
||||||
echo "bindir=$bindir" >> $config_mak
|
echo "bindir=\${prefix}$binsuffix" >> $config_mak
|
||||||
echo "mandir=$mandir" >> $config_mak
|
echo "mandir=\${prefix}$mansuffix" >> $config_mak
|
||||||
echo "datadir=$datadir" >> $config_mak
|
echo "datadir=\${prefix}$datasuffix" >> $config_mak
|
||||||
echo "docdir=$docdir" >> $config_mak
|
echo "docdir=\${prefix}$docsuffic" >> $config_mak
|
||||||
echo "#define CONFIG_QEMU_SHAREDIR \"$datadir\"" >> $config_h
|
echo "#define CONFIG_QEMU_SHAREDIR \"$prefix$datasuffix\"" >> $config_h
|
||||||
echo "MAKE=$make" >> $config_mak
|
echo "MAKE=$make" >> $config_mak
|
||||||
echo "INSTALL=$install" >> $config_mak
|
echo "INSTALL=$install" >> $config_mak
|
||||||
echo "CC=$cc" >> $config_mak
|
echo "CC=$cc" >> $config_mak
|
||||||
|
|
Loading…
Reference in a new issue