File: atlocal.in

package info (click to toggle)
pspp 0.8.4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 35,692 kB
  • ctags: 20,600
  • sloc: ansic: 218,288; sh: 12,890; xml: 11,342; perl: 715; lisp: 597; makefile: 157
file content (38 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- shell-script -*-

# Variables used internally by the testsuite.
EXEEXT='@EXEEXT@'
GNM_READ_SUPPORT='@GNM_READ_SUPPORT@'
ODF_READ_SUPPORT='@ODF_READ_SUPPORT@'
PERL='@PERL@'
WITH_PERL_MODULE='@WITH_PERL_MODULE@'
host='@host@'

PSQL_SUPPORT='@PSQL_SUPPORT@'
if test "$PSQL_SUPPORT" = yes; then
    : ${PG_CONFIG:='@PG_CONFIG@'}
    : ${PG_DBASE:=pspptest}
    : ${PG_PORT:=6543}
    : ${PG_PATH:=`$PG_CONFIG --bindir`}

    # PSQL_SUPPORT indicates that PSPP was built against the PostgreSQL client
    # library, but it does not mean that the PostgreSQL utilities are
    # installed.  So check for them and turn off PSQL_SUPPORT if they are not
    # available.
    if (PATH=$PG_PATH:$PATH; export PATH; initdb --version) >/dev/null 2>&1
    then
	:
    else
	PSQL_SUPPORT=no
    fi
fi

# Variables used by programs invoked by the testsuite.
CHARSETALIASDIR="$abs_top_builddir/gl"
export CHARSETALIASDIR

GZIP=
export GZIP

HOME=/nonexistent		# Kluge to make PSPP ignore $HOME/.pspprc.
export HOME