Add documentation for SPV file format.
[pspp] / tests / atlocal.in
1 # -*- shell-script -*-
2
3 # Variables used internally by the testsuite.
4 EXEEXT='@EXEEXT@'
5 GNM_READ_SUPPORT='@GNM_READ_SUPPORT@'
6 ODF_READ_SUPPORT='@ODF_READ_SUPPORT@'
7 PERL='@PERL@'
8 WITH_PERL_MODULE='@WITH_PERL_MODULE@'
9 host='@host@'
10 PACKAGE_STRING='@PACKAGE_STRING@'
11 PACKAGE_BUGREPORT='@PACKAGE_BUGREPORT@'
12
13 PSQL_SUPPORT='@PSQL_SUPPORT@'
14 if test "$PSQL_SUPPORT" = yes; then
15     : ${PG_CONFIG:='@PG_CONFIG@'}
16     : ${PG_DBASE:=pspptest}
17     : ${PG_PORT:=6543}
18     : ${PG_PATH:=`$PG_CONFIG --bindir`}
19
20     # PSQL_SUPPORT indicates that PSPP was built against the PostgreSQL client
21     # library, but it does not mean that the PostgreSQL utilities are
22     # installed.  So check for them and turn off PSQL_SUPPORT if they are not
23     # available.
24     if (PATH=$PG_PATH:$PATH; export PATH; initdb --version) >/dev/null 2>&1
25     then
26         :
27     else
28         PSQL_SUPPORT=no
29     fi
30 fi
31
32 # Variables used by programs invoked by the testsuite.
33 CHARSETALIASDIR="$abs_top_builddir/gl"
34 export CHARSETALIASDIR
35
36 GZIP=
37 export GZIP
38
39 HOME=/nonexistent               # Kluge to make PSPP ignore $HOME/.pspprc.
40 export HOME
41
42 # Avoids error messages during tests if $TERM is set to an unknown terminal.
43 TERM=; unset TERM