SOURCES: slony1-no_server_for_build.patch (NEW) - configure script...
jajcus
jajcus at pld-linux.org
Tue Jul 5 15:47:10 CEST 2005
Author: jajcus Date: Tue Jul 5 13:47:10 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- configure script fixed so only PostgreSQL devel files and libraries (no server) are required to build slony1
---- Files affected:
SOURCES:
slony1-no_server_for_build.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/slony1-no_server_for_build.patch
diff -u /dev/null SOURCES/slony1-no_server_for_build.patch:1.1
--- /dev/null Tue Jul 5 15:47:10 2005
+++ SOURCES/slony1-no_server_for_build.patch Tue Jul 5 15:47:05 2005
@@ -0,0 +1,48 @@
+diff -dur -x '*~' slony1-1.1.0.orig/config/acx_libpq.m4 slony1-1.1.0/config/acx_libpq.m4
+--- slony1-1.1.0.orig/config/acx_libpq.m4 2005-06-14 17:59:05.000000000 +0200
++++ slony1-1.1.0/config/acx_libpq.m4 2005-07-05 15:23:39.000000000 +0200
+@@ -185,43 +185,7 @@
+ )
+ fi
+
+-LDFLAGS="$TEMP_FLAGS -L$PG_PKGLIBDIR"
+-AC_MSG_CHECKING(for plpgsql.so)
+-if test -s $PG_PKGLIBDIR"/plpgsql.so"; then
+- AC_MSG_RESULT(yes)
+- AC_DEFINE(PG_PKGLIBDIR_VERIFIED,1,[PostgreSQL pkglibdir])
+-elif test -s $PG_PKGLIBDIR"plpgsql.sl"; then
+- AC_MSG_RESULT(yes)
+- AC_DEFINE(PG_PKGLIBDIR_VERIFIED,1,[PostgreSQL pkglibdir])
+-elif test -s $PG_PKGLIBDIR"plpgsql.dll"; then
+- AC_MSG_RESULT(yes)
+- AC_DEFINE(PG_PKGLIBDIR_VERIFIED,1,[PostgreSQL pkglibdir])
+-else
+- AC_MSG_RESULT(no)
+- AC_MSG_ERROR($PG_PKGLIBDIR/plpgsql.[so|sl|dll] is not found in the pkglibdir.
+- Please specify the pkglibdir with --with-pgpkglibdir=<dir>
+- )
+-fi
+-
+-AC_MSG_CHECKING(for postgresql.conf.sample)
+-PGSHARE_POSSIBLE_LOCATIONS="${with_pgsharedir} /usr/local/pgsql/share /usr/local/share/postgresql /usr/share/postgresql /usr/local/share/pgsql /usr/share/pgsql /opt/local/pgsql/share /opt/pgsql/share ${PG_BINDIR}/../share"
+-for i in $PGSHARE_POSSIBLE_LOCATIONS; do
+- if test -s "$i/postgresql.conf.sample" ; then
+- PG_SHAREDIR=$i/
+- break;
+- fi
+-done
+-
+-if test -n "$PG_SHAREDIR" ; then
+- AC_MSG_RESULT(${PG_SHAREDIR}postgresql.conf.sample)
+- AC_DEFINE(PG_SHAREDIR_VERIFIED,1,[PostgreSQL sharedir])
+-else
+- AC_MSG_RESULT(not found)
+- AC_MSG_ERROR(
+- postgresql.conf.sample not found! Please specify the sharedir
+- with --with-pgsharedir=<dir>
+- )
+-fi
++PG_SHAREDIR="${with_pgsharedir}"
+
+ LDFLAGS="$TEMP_FLAGS -L$PG_LIBDIR"
+
================================================================
More information about the pld-cvs-commit
mailing list