gui: Make syntax execution functions take a PsppireDataWindow argument.
[pspp-builds.git] / tests / atlocal.in
1 # -*- shell-script -*-
2
3 # Variables used internally by the testsuite.
4 EXEEXT='@EXEEXT@'
5 GNM_SUPPORT='@GNM_SUPPORT@'
6 PERL='@PERL@'
7 WITH_PERL_MODULE='@WITH_PERL_MODULE@'
8 host='@host@'
9 SIZEOF_SIZE_T='@SIZEOF_SIZE_T@'
10
11 PSQL_SUPPORT='@PSQL_SUPPORT@'
12 if test "$PSQL_SUPPORT" = yes; then
13     : ${PG_CONFIG:='@PG_CONFIG@'}
14     : ${PG_DBASE:=pspptest}
15     : ${PG_PORT:=6543}
16     : ${PG_PATH:=`$PG_CONFIG --bindir`}
17
18     # PSQL_SUPPORT indicates that PSPP was built against the PostgreSQL client
19     # library, but it does not mean that the PostgreSQL utilities are
20     # installed.  So check for them and turn off PSQL_SUPPORT if they are not
21     # available.
22     if (PATH=$PG_PATH:$PATH; export PATH; initdb --version) >/dev/null 2>&1
23     then
24         :
25     else
26         PSQL_SUPPORT=no
27     fi
28 fi
29
30 # Variables used by programs invoked by the testsuite.
31 CHARSETALIASDIR="$abs_top_builddir/gl"
32 export CHARSETALIASDIR
33
34 GZIP=
35 export GZIP
36
37 HOME=/nonexistent               # Kluge to make PSPP ignore $HOME/.pspprc.
38 export HOME