Niels Breet xfade at lists.slony.info
Tue Feb 20 03:20:46 PST 2007
Update of /home/cvsd/slony1/slony1-engine
In directory main:/tmp/cvs-serv31739

Modified Files:
	configure.ac 
Log Message:
Add an option to skip building the engine sources. This is used for building docs only. --disable-engine skips all slony1-engine tests. Default behaviour does not change.

Index: configure.ac
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/configure.ac,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** configure.ac	1 Nov 2006 15:43:07 -0000	1.59
--- configure.ac	20 Feb 2007 11:20:44 -0000	1.60
***************
*** 142,145 ****
--- 142,151 ----
  AC_ARG_WITH(mandir,		[  --with-mandir=<dir>              Location to install the manpages. Default is $PREFIX/man.])
  
+ 
+ SLON_AC_ARG_BOOL(enable, engine, yes,
+               [  --disable-engine	  Don't build slony1-engine source. (Used when building documentation only)])
+ 
+ AC_SUBST(enable_engine)
+ 
  #Our current path
  SLONYPATH=`pwd`
***************
*** 148,151 ****
--- 154,162 ----
  # PostgreSQL checks
  # ----
+ AC_MSG_CHECKING(if you have requested slony1-engine building)
+ AC_MSG_RESULT($enable_engine)
+ 
+ if test "$enable_engine" = "yes"; then
+ 
  ACX_LIBPQ()
  ACX_LIBSNMP()
***************
*** 174,177 ****
--- 185,190 ----
  AC_SUBST(SLONBINDIR,$SLONBINDIR)
  
+ fi
+ 
  # ----
  # Documentation checks



More information about the Slony1-commit mailing list