tdbc::postgres

Check-in [7921a42ea4]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge trunk.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | stu-pkgIndex
Files: files | file ages | folders
SHA3-256:7921a42ea4e891fed0f50b8e6249daac193ba7a6b82fb9fd0df8c4483e7f93e7
User & Date: stu 2018-01-05 06:32:01
Context
2018-01-05
06:35
Merge stu-pkgIndex. Companion to [https://core.tcl.tk/tdbc/info/2386d26cfb8a34c3]. check-in: cc19a168bf user: stu tags: trunk
06:32
Merge trunk. Closed-Leaf check-in: 7921a42ea4 user: stu tags: stu-pkgIndex
2018-01-04
05:30
Don't include tclconfig's ChangeLog in the dist. check-in: 6b3d7d53fa user: stu tags: trunk
2017-12-16
23:06
Add $(TDBC_BIN_DIR) to $(TCLLIBPATH) and remove [package ifneeded] script for tdbc from the test target. See [https://core.tcl.tk/tdbc/info/c5f7bcffcb626767]. check-in: 18ea6d68ec user: stu tags: stu-pkgIndex
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added .fossil-settings/crlf-glob.

            1  +win/*.vc

Changes to Makefile.in.

     7      7   #	replaced in the actual Makefile.
     8      8   #
     9      9   # Copyright (c) 1999 Scriptics Corporation.
    10     10   # Copyright (c) 2002-2005 ActiveState Corporation.
    11     11   #
    12     12   # See the file "license.terms" for information on usage and redistribution
    13     13   # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    14         -#
    15         -# RCS: @(#) $Id: Makefile.in,v 1.64 2007/10/23 22:08:06 hobbs Exp $
    16     14   
    17     15   #========================================================================
    18     16   # Nothing of the variables below this line should need to be changed.
    19     17   # Please check the TARGETS section below to make sure the make targets
    20     18   # are correct.
    21     19   #========================================================================
    22     20   
................................................................................
    59     57   srcdir		= @srcdir@
    60     58   prefix		= @prefix@
    61     59   exec_prefix	= @exec_prefix@
    62     60   
    63     61   bindir		= @bindir@
    64     62   libdir		= @libdir@
    65     63   includedir	= @includedir@
    66         -datarootdir     = @datarootdir@
           64  +datarootdir	= @datarootdir@
    67     65   datadir		= @datadir@
    68     66   mandir		= @mandir@
    69     67   
    70     68   DESTDIR		=
    71     69   
    72     70   PKG_DIR		= $(PACKAGE_NAME)$(PACKAGE_VERSION)
    73     71   pkgdatadir	= $(datadir)/$(PKG_DIR)
    74     72   pkglibdir	= $(libdir)/$(PKG_DIR)
    75     73   pkgincludedir	= $(includedir)/$(PKG_DIR)
    76     74   
    77     75   top_builddir	= .
    78     76   
    79         -INSTALL_OPTIONS =
    80         -INSTALL         = $(SHELL) $(srcdir)/tclconfig/install-sh -c ${INSTALL_OPTIONS}
    81         -INSTALL_DATA_DIR = ${INSTALL} -d -m 755
    82         -INSTALL_PROGRAM = ${INSTALL} -m 555
    83         -INSTALL_DATA    = ${INSTALL} -m 444
    84         -INSTALL_SCRIPT  = ${INSTALL_PROGRAM}
    85         -INSTALL_LIBRARY = ${INSTALL_DATA}
           77  +INSTALL_OPTIONS	=
           78  +INSTALL		= @INSTALL@ $(INSTALL_OPTIONS)
           79  +INSTALL_DATA_DIR = @INSTALL_DATA_DIR@
           80  +INSTALL_DATA	= @INSTALL_DATA@
           81  +INSTALL_PROGRAM	= @INSTALL_PROGRAM@
           82  +INSTALL_SCRIPT	= @INSTALL_SCRIPT@
           83  +INSTALL_LIBRARY	= @INSTALL_LIBRARY@
    86     84   
    87     85   PACKAGE_NAME	= @PACKAGE_NAME@
    88     86   PACKAGE_VERSION	= @PACKAGE_VERSION@
    89     87   CC		= @CC@
    90     88   CFLAGS_DEFAULT	= @CFLAGS_DEFAULT@
    91     89   CFLAGS_WARNING	= @CFLAGS_WARNING@
    92     90   EXEEXT		= @EXEEXT@
................................................................................
   130    128   		  TDBC_LIBRARY=`@CYGPATH@ @tdbc_LIBRARY_PATH@`
   131    129   PKG_ENV		= @LD_LIBRARY_PATH_VAR@="$(EXTRA_PATH):$(@LD_LIBRARY_PATH_VAR@)" \
   132    130   		  PATH="$(EXTRA_PATH):$(PATH)" \
   133    131   		  TCLLIBPATH="$(TCLLIBPATH)" \
   134    132   		  TDBCPOSTGRES_LIBRARY=`@CYGPATH@ $(srcdir)/library`
   135    133   
   136    134   TCLSH_PROG	= @TCLSH_PROG@
   137         -TCLSH   	= $(PKG_ENV) $(TCLSH_ENV) $(TCLSH_PROG)
          135  +TCLSH		= $(PKG_ENV) $(TCLSH_ENV) $(TCLSH_PROG)
   138    136   
   139    137   #WISH_ENV	= TK_LIBRARY=`@CYGPATH@ $(TK_SRC_DIR)/library`
   140    138   #WISH_PROG	= @WISH_PROG@
   141         -#WISH   	= $(PKG_ENV) $(TCLSH_ENV) $(WISH_ENV) $(WISH_PROG)
          139  +#WISH		= $(PKG_ENV) $(TCLSH_ENV) $(WISH_ENV) $(WISH_PROG)
   142    140   
   143    141   SHARED_BUILD	= @SHARED_BUILD@
   144    142   
   145    143   INCLUDES	= @PKG_INCLUDES@ @TCL_INCLUDES@
   146         -# INCLUDES	= @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
          144  +#INCLUDES	= @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
   147    145   
   148    146   PKG_CFLAGS	= @PKG_CFLAGS@
   149    147   
   150    148   # TCL_DEFS is not strictly need here, but if you remove it, then you
   151    149   # must make sure that configure.ac checks for the necessary components
   152    150   # that your library may use.  TCL_DEFS can actually be a problem if
   153    151   # you do not compile with a similar machine setup as the Tcl core was
................................................................................
   163    161   LIBS		= @PKG_LIBS@ @LIBS@
   164    162   AR		= @AR@
   165    163   CFLAGS		= @CFLAGS@
   166    164   COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
   167    165   
   168    166   VALGRIND		= valgrind
   169    167   VALGRINDARGS		= --tool=memcheck --num-callers=16 --leak-resolution=high --leak-check=yes --show-reachable=yes -v
          168  +
          169  +.SUFFIXES: .c .$(OBJEXT)
   170    170   
   171    171   #========================================================================
   172    172   # Start of user-definable TARGETS section
   173    173   #========================================================================
   174    174   
   175    175   #========================================================================
   176    176   # TEA TARGETS.  Please note that the "libraries:" target refers to platform
   177         -# independent files, and the "binaries:" target inclues executable programs and
          177  +# independent files, and the "binaries:" target includes executable programs and
   178    178   # platform-dependent libraries.  Modify these targets so that they install
   179    179   # the various pieces of your package.  The make and install rules
   180    180   # for the BINARIES that you specified above have already been done.
   181    181   #========================================================================
   182    182   
   183    183   all: binaries libraries doc
   184    184   
................................................................................
   285    285   #========================================================================
   286    286   
   287    287   #COMPRESS	= tar cvf $(PKG_DIR).tar $(PKG_DIR); compress $(PKG_DIR).tar
   288    288   COMPRESS	= tar zcvf $(PKG_DIR).tar.gz $(PKG_DIR)
   289    289   DIST_ROOT	= /tmp/dist
   290    290   DIST_DIR	= $(DIST_ROOT)/$(PKG_DIR)
   291    291   
   292         -DIST_INSTALL_DATA	= ${INSTALL} -m 644
   293         -DIST_INSTALL_SCRIPT	= ${INSTALL} -m 755
          292  +DIST_INSTALL_DATA	= CPPROG='cp -p' $(INSTALL) -m 644
          293  +DIST_INSTALL_SCRIPT	= CPPROG='cp -p' $(INSTALL) -m 755
   294    294   
   295    295   dist-clean:
   296    296   	rm -rf $(DIST_DIR) $(DIST_ROOT)/$(PKG_DIR).tar.*
   297    297   
   298    298   dist: dist-clean
   299    299   	$(INSTALL_DATA_DIR) $(DIST_DIR)
   300    300   	$(DIST_INSTALL_DATA) $(srcdir)/license.terms \
................................................................................
   301    301   		$(srcdir)/ChangeLog $(srcdir)/README $(srcdir)/TODO \
   302    302   		$(srcdir)/aclocal.m4 $(srcdir)/configure.ac \
   303    303   		$(srcdir)/Makefile.in $(srcdir)/pkgIndex.tcl.in \
   304    304   		$(DIST_DIR)/
   305    305   	$(DIST_INSTALL_SCRIPT) $(srcdir)/configure $(DIST_DIR)/
   306    306   
   307    307   	$(INSTALL_DATA_DIR) $(DIST_DIR)/tclconfig
   308         -	$(DIST_INSTALL_DATA) $(srcdir)/tclconfig/ChangeLog \
   309         -		$(srcdir)/tclconfig/README.txt $(srcdir)/tclconfig/tcl.m4 \
   310         -		$(srcdir)/tclconfig/install-sh \
          308  +	$(DIST_INSTALL_DATA) $(srcdir)/tclconfig/README.txt \
          309  +		$(srcdir)/tclconfig/tcl.m4 $(srcdir)/tclconfig/install-sh \
   311    310   		$(DIST_DIR)/tclconfig/
   312    311   
   313    312   	$(INSTALL_DATA_DIR) $(DIST_DIR)/doc
   314    313   	$(DIST_INSTALL_DATA) $(srcdir)/doc/tdbc_postgres.n $(DIST_DIR)/doc/
   315    314   
   316    315   	$(INSTALL_DATA_DIR) $(DIST_DIR)/generic
   317    316   	$(DIST_INSTALL_DATA) $(srcdir)/generic/fakepq.h $(srcdir)/generic/pqStubDefs.txt \
................................................................................
   329    328   
   330    329   	$(INSTALL_DATA_DIR) $(DIST_DIR)/tests/future
   331    330   	$(DIST_INSTALL_DATA) $(srcdir)/tests/future/tdbcpostgre.test.tcl \
   332    331   		$(DIST_DIR)/tests/future/
   333    332   
   334    333   	$(INSTALL_DATA_DIR) $(DIST_DIR)/win
   335    334   	$(DIST_INSTALL_DATA) $(srcdir)/win/makefile.vc $(srcdir)/win/nmakehlp.c \
          335  +		$(srcdir)/win/targets.vc $(srcdir)/win/rules-ext.vc \
   336    336   		$(srcdir)/win/rules.vc $(DIST_DIR)/win/
   337    337   
   338    338   	(cd $(DIST_ROOT); $(COMPRESS);)
   339    339   
   340    340   #========================================================================
   341    341   # How to rebuild the package's stub table.
   342    342   #========================================================================
................................................................................
   431    431   	@list='$(bin_BINARIES)'; for p in $$list; do \
   432    432   	  if test -f $$p; then \
   433    433   	    echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p"; \
   434    434   	    $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
   435    435   	  fi; \
   436    436   	done
   437    437   
   438         -.SUFFIXES: .c .$(OBJEXT)
   439         -
   440    438   Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
   441    439   	cd $(top_builddir) \
   442    440   	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
   443    441   
   444    442   uninstall-binaries:
   445    443   	list='$(lib_BINARIES)'; for p in $$list; do \
   446    444   	  rm -f $(DESTDIR)$(pkglibdir)/$$p; \

Changes to configure.

  2426   2426   #--------------------------------------------------------------------
  2427   2427   # Call TEA_INIT as the first TEA_ macro to set up initial vars.
  2428   2428   # This will define a ${TEA_PLATFORM} variable == "unix" or "windows"
  2429   2429   # as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE.
  2430   2430   #--------------------------------------------------------------------
  2431   2431   
  2432   2432   
  2433         -    # TEA extensions pass this us the version of TEA they think they
  2434         -    # are compatible with.
  2435         -    TEA_VERSION="3.10"
         2433  +    TEA_VERSION="3.12"
  2436   2434   
  2437         -    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct TEA configuration" >&5
  2438         -$as_echo_n "checking for correct TEA configuration... " >&6; }
         2435  +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking TEA configuration" >&5
         2436  +$as_echo_n "checking TEA configuration... " >&6; }
  2439   2437       if test x"${PACKAGE_NAME}" = x ; then
  2440   2438   	as_fn_error $? "
  2441   2439   The PACKAGE_NAME variable must be defined by your TEA configure.ac" "$LINENO" 5
  2442   2440       fi
  2443         -    if test x"3.10" = x ; then
  2444         -	as_fn_error $? "
  2445         -TEA version not specified." "$LINENO" 5
  2446         -    elif test "3.10" != "${TEA_VERSION}" ; then
  2447         -	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: requested TEA version \"3.10\", have \"${TEA_VERSION}\"" >&5
  2448         -$as_echo "warning: requested TEA version \"3.10\", have \"${TEA_VERSION}\"" >&6; }
  2449         -    else
  2450         -	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5
         2441  +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5
  2451   2442   $as_echo "ok (TEA ${TEA_VERSION})" >&6; }
  2452         -    fi
  2453   2443   
  2454   2444       # If the user did not set CFLAGS, set it now to keep macros
  2455   2445       # like AC_PROG_CC and AC_TRY_COMPILE from adding "-g -O2".
  2456   2446       if test "${CFLAGS+set}" != "set" ; then
  2457   2447   	CFLAGS=""
  2458   2448       fi
  2459   2449   
................................................................................
  4691   4681   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4692   4682   ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4693   4683   
  4694   4684   
  4695   4685       INSTALL='$(SHELL) $(srcdir)/tclconfig/install-sh -c'
  4696   4686       INSTALL_DATA_DIR='${INSTALL} -d -m 755'
  4697   4687       INSTALL_DATA='${INSTALL} -m 644'
  4698         -    INSTALL_PROGRAM='${INSTALL}'
  4699         -    INSTALL_SCRIPT='${INSTALL}'
  4700         -    INSTALL_LIBRARY='${INSTALL_DATA}'
         4688  +    INSTALL_PROGRAM='${INSTALL} -m 755'
         4689  +    INSTALL_SCRIPT='${INSTALL} -m 755'
         4690  +    INSTALL_LIBRARY='${INSTALL} -m 644'
  4701   4691   
  4702   4692   
  4703   4693   
  4704   4694   
  4705   4695   
  4706   4696   
  4707   4697   

Changes to configure.ac.

    15     15   
    16     16   #--------------------------------------------------------------------
    17     17   # Call TEA_INIT as the first TEA_ macro to set up initial vars.
    18     18   # This will define a ${TEA_PLATFORM} variable == "unix" or "windows"
    19     19   # as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE.
    20     20   #--------------------------------------------------------------------
    21     21   
    22         -TEA_INIT([3.10])
           22  +TEA_INIT()
    23     23   
    24     24   AC_CONFIG_AUX_DIR(tclconfig)
    25     25   
    26     26   #--------------------------------------------------------------------
    27     27   # Load the tclConfig.sh file
    28     28   #--------------------------------------------------------------------
    29     29   

Changes to win/makefile.vc.


Changes to win/rules-ext.vc.


Changes to win/rules.vc.


Changes to win/targets.vc.