This change allows some of the tests to run successfully under wine when
cross-compiled with mingw
GZIP=
export GZIP
+WINEPREFIX=$HOME/.wine # Work around the following kludge to keep wine happy
+export WINEPREFIX
+
+
HOME=/nonexistent # Kluge to make PSPP ignore $HOME/.pspprc.
export HOME
+PSPP=$abs_top_builddir/src/ui/terminal/pspp$EXEEXT
+export PSPP
+
+PSPPCONVERT=$abs_top_builddir/utilities/pspp-convert$EXEEXT
+export PSPPCONVERT
+
+
# Avoids error messages during tests if $TERM is set to an unknown terminal.
TERM=; unset TERM
+
+if test X"$RUNNER" != X; then
+ pspp () {
+ $RUNNER $PSPP "$@"
+ }
+fi
+
+pspp_diff=`which diff`
+if test X"$RUNNER" = Xwine; then
+ diff () {
+ $pspp_diff -w "$@"
+ }
+fi