Make sure prefix is actually honoured by configure.

Temporary hack for redhat users to enable NPTL.
This commit is contained in:
Mike Hearn 2003-05-13 23:37:09 +00:00 committed by Alexandre Julliard
parent 0f9eeb6f64
commit 7927b41b6c
1 changed files with 6 additions and 1 deletions

View File

@ -152,6 +152,11 @@ function configure_wine_applications {
echo "WINE Installer v0.74"
echo
# check for redhat 9 so we can enable --with-nptl until runtime detection is complete
if cat /etc/redhat-release | grep Shrike &>/dev/null; then
CONFARGS="$CONFARGS --with-nptl"
fi
if [ "$BINDIST" = 'no' ]
then {
@ -227,7 +232,7 @@ then {
else {
echo "Running configure..."
echo
if ! ./configure -C $CONFARGS
if ! ./configure -C $CONFARGS --prefix=$prefix
then {
echo
echo "Configure failed, aborting install."