* configure switches for disabling ECPG and libpgeasy
compile, as they are not used always
--
marko
Index: configure.in
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/configure.in,v
retrieving revision 1.129
diff -u -c -r1.129 configure.in
*** configure.in 2001/06/11 22:12:48 1.129
--- configure.in 2001/06/15 16:25:03
***************
*** 363,368 ****
--- 363,384 ----
done
IFS=$ac_save_IFS
+ #
+ # Optionally build ECPG interface module
+ #
+ AC_MSG_CHECKING([whether to build ecpg])
+ PGAC_ARG_BOOL(with, ecpg, yes, [ --without-ecpg do not build ecpg interface])
+ AC_MSG_RESULT([$with_ecpg])
+ AC_SUBST(with_ecpg)
+
+ #
+ # Optionally build PGEASY interface module
+ #
+ AC_MSG_CHECKING([whether to build libpgeasy])
+ PGAC_ARG_BOOL(with, pgeasy, yes, [ --without-pgeasy do not build libpgeasy interface])
+ AC_MSG_RESULT([$with_pgeasy])
+ AC_SUBST(with_pgeasy)
+
#
# Tcl/Tk
Index: src/interfaces/Makefile
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/Makefile,v
retrieving revision 1.45
diff -u -c -r1.45 Makefile
*** src/interfaces/Makefile 2001/03/09 21:50:27 1.45
--- src/interfaces/Makefile 2001/06/15 16:25:03
***************
*** 12,20 ****
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
! DIRS := libpq ecpg libpgeasy
! ALLDIRS := $(DIRS) odbc libpq++ libpgtcl perl5 python jdbc
ifeq ($(enable_odbc), yes)
DIRS += odbc
--- 12,28 ----
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
! DIRS := libpq
! ALLDIRS := $(DIRS) ecpg libpgeasy odbc libpq++ libpgtcl perl5 python jdbc
!
! ifeq ($(enable_ecpg), yes)
! DIRS += ecpg
! endif
!
! ifeq ($(enable_pgeasy), yes)
! DIRS += libpgeasy
! endif
ifeq ($(enable_odbc), yes)
DIRS += odbc