From e3e7fda42142642e1d61c2ecde47af27e39e0275 Mon Sep 17 00:00:00 2001 From: Marek Habersack <mhabersack@novell.com> Date: Sat, 21 Dec 2002 20:42:17 +0100 Subject: [PATCH] postgres 7.3+ detection and explicit --with-perl for debian build process. Rev: packaging/debian/rules:1.36 Rev: src/modules/Postgres/configure.in:1.18 --- packaging/debian/rules | 3 ++- src/modules/Postgres/configure.in | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/debian/rules b/packaging/debian/rules index b5a13b3e07..85fac1dcd8 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -6,7 +6,7 @@ # architecture-dependant package, as well as an architecture-independent # package. # -# $Id: rules,v 1.35 2002/12/06 04:21:21 grendel Exp $ +# $Id: rules,v 1.36 2002/12/21 19:42:17 grendel Exp $ # # Uncomment this to turn on verbose mode. @@ -58,6 +58,7 @@ CFARGS=--without-rtldebug \ --with-postgres \ --with-postgres-include-dir=/usr/include/postgresql \ --with-libpq-dir=/usr/lib \ + --with-perl \ --without-ffmpeg \ --without-libpdf \ --without-libpanda $(MACHINE_OPTS) diff --git a/src/modules/Postgres/configure.in b/src/modules/Postgres/configure.in index 55b18076ad..75b3584682 100644 --- a/src/modules/Postgres/configure.in +++ b/src/modules/Postgres/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.17 2002/08/02 21:23:38 grendel Exp $ +dnl $Id: configure.in,v 1.18 2002/12/21 19:42:17 grendel Exp $ AC_INIT(postgres.c) AC_CONFIG_HEADER(pgres_config.h) @@ -93,7 +93,7 @@ dnl check whether we have Postgres 7.2 or newer HAVE_PG72=no if test -f $pike_cv_pgres_include_dir/pg_config.h; then case `grep 'PG_VERSION \"' $pike_cv_pgres_include_dir/pg_config.h | cut -d '"' -f 2` in - 7.2*) HAVE_PG72=yes + 7.[[2-9]]*|8.*) HAVE_PG72=yes AC_DEFINE(HAVE_PG72) ;; esac fi -- GitLab