File: configure.in

package info (click to toggle)
clisp 1%3A2.41-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 49,804 kB
  • ctags: 16,291
  • sloc: lisp: 75,912; ansic: 49,247; xml: 24,289; asm: 21,993; sh: 11,234; fortran: 6,692; cpp: 2,660; objc: 2,481; makefile: 2,355; perl: 164; sed: 55
file content (58 lines) | stat: -rw-r--r-- 2,375 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
dnl AUTOCONF configuration for postgresql
dnl Copyright (C) 2003-2006  Sam Steingold <sds@gnu.org>
dnl GNU GPL2

AC_PREREQ(2.57)
AC_INIT(postgresql, 1.0, clisp-list)
AC_CONFIG_SRCDIR(postgresql.lisp)
AC_CONFIG_HEADERS(config.h)

RSE_BOLD
BOLD_MSG([PostgreSQL (Tools)])
AC_PROG_CC
AC_PROG_CPP

dnl Search for libpq and define LIBPQ, LTLIBPQ and INCPQ.
AC_CONFIG_AUX_DIR(../../src/build-aux)
AC_LIB_LINKFLAGS([pq])

BOLD_MSG([PostgreSQL (Headers)])
AC_HEADER_STDC
AC_HEADER_TIME
AC_CHECK_HEADERS(postgres_ext.h postgresql/postgres_ext.h)
if test "$ac_cv_header_postgres_ext_h" = "no" -a "$ac_cv_header_postgresql_postgres_ext_h" = "no"; then
  AC_MSG_ERROR([cannot find PostgreSQL headers])
fi

BOLD_MSG([PostgreSQL (Functions)])
AC_LIB_APPENDTOVAR([LIBS], [$LIBPQ])
AC_SEARCH_LIBS(PQconnectdb, pq)
if test "$ac_cv_search_PQconnectdb" = "no"; then
  AC_MSG_ERROR([cannot find PostgreSQL library])
fi
AC_CHECK_FUNCS(PQconnectStart PQconnectPoll PQconnectdb PQsetdbLogin dnl
PQfinish PQconndefaults PQconninfoFree PQresetStart PQresetPoll PQreset dnl
PQgetCancel PQfreeCancel PQcancel PQrequestCancel PQdb PQuser PQpass PQhost dnl
PQport PQtty PQoptions PQstatus PQtransactionStatus PQparameterStatus dnl
PQprotocolVersion PQserverVersion PQerrorMessage PQsocket PQbackendPID dnl
PQclientEncoding PQsetClientEncoding PQgetssl PQinitSSL dnl
PQsetErrorVerbosity PQtrace PQuntrace PQsetNoticeReceiver dnl
PQsetNoticeProcessor PQexec PQexecParams PQprepare PQexecPrepared dnl
PQsendQuery PQsendQueryParams PQsendPrepare PQsendQueryPrepared PQgetResult dnl
PQisBusy PQconsumeInput PQnotifies PQputCopyData PQputCopyEnd PQgetCopyData dnl
PQgetline PQputline PQgetlineAsync PQputnbytes PQendcopy PQsetnonblocking dnl
PQisnonblocking PQflush PQfn PQresultStatus PQresStatus PQresultErrorMessage dnl
PQresultErrorField PQntuples PQnfields PQbinaryTuples PQfname PQfnumber dnl
PQftable PQftablecol PQfformat PQftype PQfsize PQfmod PQcmdStatus dnl
PQoidStatus PQoidValue PQcmdTuples PQgetvalue PQgetlength PQgetisnull dnl
PQclear PQfreemem PQmakeEmptyPGresult PQescapeString PQescapeBytea dnl
PQunescapeBytea PQprint PQdisplayTuples PQprintTuples dnl
lo_open lo_close lo_read lo_write lo_lseek lo_creat lo_tell lo_unlink dnl
lo_import lo_export dnl
PQmblen PQdsplen PQenv2encoding)

BOLD_MSG([PostgreSQL (Output)])
AC_CONFIG_FILES(Makefile link.sh)
AC_OUTPUT

BOLD_MSG([PostgreSQL (Done)])