Chris Browne cbbrowne at lists.slony.info
Mon Feb 25 07:40:09 PST 2008
Update of /home/cvsd/slony1/slony1-engine/config
In directory main.slony.info:/tmp/cvs-serv2462

Modified Files:
	acx_libpq.m4 
Log Message:
Detect 3-argument version of typenameTypeId()


Index: acx_libpq.m4
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/config/acx_libpq.m4,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** acx_libpq.m4	29 Nov 2007 15:57:56 -0000	1.28
--- acx_libpq.m4	25 Feb 2008 15:40:07 -0000	1.29
***************
*** 354,358 ****
  fi
  
! 
  AC_MSG_CHECKING(for typenameTypeId)
  if test -z "$ac_cv_typenameTypeId_args"; then
--- 354,365 ----
  fi
  
! AC_MSG_CHECKING(for typenameTypeId)
! if test -z "$ac_cv_typenameTypeId_args"; then
!   AC_TRY_COMPILE(
!     [#include "postgres.h"
!      #include "parser/parse_type.h"],
!     [typenameTypeId(NULL, NULL, NULL); ],
!     ac_cv_typenameTypeId_args=3)
! fi
  AC_MSG_CHECKING(for typenameTypeId)
  if test -z "$ac_cv_typenameTypeId_args"; then
***************
*** 373,377 ****
    AC_MSG_RESULT(no)
  else
!   if test "$ac_cv_typenameTypeId_args" = 2; then
      AC_DEFINE(HAVE_TYPENAMETYPEID_2)
    elif test "$ac_cv_typenameTypeId_args" = 1; then
--- 380,386 ----
    AC_MSG_RESULT(no)
  else
!   if test "$ac_cv_typenameTypeId_args" = 3; then
!     AC_DEFINE(HAVE_TYPENAMETYPEID_3)
!   elif test "$ac_cv_typenameTypeId_args" = 2; then
      AC_DEFINE(HAVE_TYPENAMETYPEID_2)
    elif test "$ac_cv_typenameTypeId_args" = 1; then



More information about the Slony1-commit mailing list