annotate main/database/src/configure.ac @ 11716:6ef2f5b6a9e5 octave-forge

Prepare for release 2.2.0.
author i7tiol
date Mon, 20 May 2013 08:04:57 +0000
parents b257244ad466
children c73c23bbe9ce
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])
11716
6ef2f5b6a9e5 Prepare for release 2.2.0.
i7tiol
parents: 11646
diff changeset
5 AC_INIT([database], [2.2.0], [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
11646
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
10 if test "$GXX" != yes; then
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
11 AC_MSG_ERROR([This package needs the GNU C++ compiler, which wasn't found.], 1);
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
12 fi
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
13
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
14 AC_CHECK_PROG(OCTAVE, octave, octave)
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
15 AC_CHECK_PROG(MKOCTFILE, mkoctfile, mkoctfile)
11553
35e9e4b6ab34 Fix configuration of postgresql include directories.
i7tiol
parents: 11550
diff changeset
16 AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config)
11646
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
17 if test -z "$PG_CONFIG"; then
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
18 AC_MSG_ERROR([pg_config not found], 1);
b257244ad466 Hopefully fix strict aliasing issues.
i7tiol
parents: 11632
diff changeset
19 fi
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
20
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
21 # Checks for libraries.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
22 AC_CHECK_LIB([pq], [PQconnectdb])
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
23
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
24 # Checks for typedefs, structures, and compiler characteristics.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
25
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
26 # Checks for library functions.
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
27 AC_FUNC_ERROR_AT_LINE
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
28
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
29 AC_CONFIG_FILES([Makefile])
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
30 AC_OUTPUT