From 7927b41b6c9666cdd6c3b89facc25979b54da514 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Tue, 13 May 2003 23:37:09 +0000 Subject: [PATCH] Make sure prefix is actually honoured by configure. Temporary hack for redhat users to enable NPTL. --- tools/wineinstall | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/wineinstall b/tools/wineinstall index 691a60ad9d5..70b178ce640 100755 --- a/tools/wineinstall +++ b/tools/wineinstall @@ -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."