annotate main/database/src/configure.ac @ 11632:2d1db11b1470 octave-forge

Corrected configure check for pg_config.
author i7tiol
date Tue, 16 Apr 2013 15:32:11 +0000
parents 0bc8e2131356
children b257244ad466
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
1 # -*- Autoconf -*-
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
2 # Process this file with autoconf to produce a configure script.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
3
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
4 AC_PREREQ([2.67])
11565
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11564
diff changeset
5 AC_INIT([database], [2.1.1], [i7tiol@t-online.de])
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
6 AC_CONFIG_SRCDIR([__pq_connect__.cc])
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
7
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
8 # Checks for programs.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
9 AC_PROG_CXX
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
10 AC_CHECK_PROG(OCTAVE, octave, octave)
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
11 AC_CHECK_PROG(MKOCTFILE, mkoctfile, mkoctfile)
11553
35e9e4b6ab34 Fix configuration of postgresql include directories.
i7tiol
parents: 11550
diff changeset
12 AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config)
11632
2d1db11b1470 Corrected configure check for pg_config.
i7tiol
parents: 11565
diff changeset
13 if test -z "$PG_CONFIG"; then exit 1; fi
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
14
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
15 # Checks for libraries.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
16 AC_CHECK_LIB([pq], [PQconnectdb])
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
17
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
18 # Checks for typedefs, structures, and compiler characteristics.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
19
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
20 # Checks for library functions.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
21 AC_FUNC_ERROR_AT_LINE
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
22
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
23 AC_CONFIG_FILES([Makefile])
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
24 AC_OUTPUT