1
## -*- mode: autoconf; tab-width: 2; -*-
3
dnl mrj: set default prefix for tora
4
AC_DEFUN([TORA_CHECK_POSTGRES],
6
AC_CHECK_DECL([PQcancel],
9
[#include <postgresql/libpq-fe.h>])
11
if test $ac_pg_cancel = yes; then
12
AC_DEFINE([LIBPQ_DECL_CANCEL], 1, [Define if libpg-fe.h declares PQcancel.])
13
AC_SUBST(PQ_LIBS, -lpq)