glm.c: Allow parser to accept METHOD=SSTYPE(n) subcommand
[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 ODF_READ_SUPPORT='@ODF_READ_SUPPORT@'
7 PERL='@PERL@'
8 WITH_PERL_MODULE='@WITH_PERL_MODULE@'
9 host='@host@'
10 SIZEOF_SIZE_T='@SIZEOF_SIZE_T@'
11
12 PSQL_SUPPORT='@PSQL_SUPPORT@'
13 if test "$PSQL_SUPPORT" = yes; then
14     : ${PG_CONFIG:='@PG_CONFIG@'}
15     : ${PG_DBASE:=pspptest}
16     : ${PG_PORT:=6543}
17     : ${PG_PATH:=`$PG_CONFIG --bindir`}
18
19     # PSQL_SUPPORT indicates that PSPP was built against the PostgreSQL client
20     # library, but it does not mean that the PostgreSQL utilities are
21     # installed.  So check for them and turn off PSQL_SUPPORT if they are not
22     # available.
23     if (PATH=$PG_PATH:$PATH; export PATH; initdb --version) >/dev/null 2>&1
24     then
25         :
26     else
27         PSQL_SUPPORT=no
28     fi
29 fi
30
31 # Variables used by programs invoked by the testsuite.
32 CHARSETALIASDIR="$abs_top_builddir/gl"
33 export CHARSETALIASDIR
34
35 GZIP=
36 export GZIP
37
38 HOME=/nonexistent               # Kluge to make PSPP ignore $HOME/.pspprc.
39 export HOME