tdbc::odbc

Check-in [afd530a0ed]
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:Advance version to 1.1.0
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | detect-sqlwchar-size
Files: files | file ages | folders
SHA3-256:afd530a0ed7d30ce08f38063e6f35bf713eab12ba6e2797f0347197a9fdacc5f
User & Date: kbk 2018-05-12 16:47:35
Context
2018-05-12
16:51
ADVANCE VERSION TO 1.1.0. Integrate Christian Werner's changes to support systems (specifically, iodbc) that use a 32-bit SQLWCHAR, with runtime detection of the character format in use. This change enables the use of tdbc::odbc on BSD-derived systems and Apple platforms, where iodbc is the usual ODBC implementation. check-in: 11581e229b user: kbk tags: trunk
16:47
Advance version to 1.1.0 Leaf check-in: afd530a0ed user: kbk tags: detect-sqlwchar-size
16:39
Change odbcStubs.h and odbcStubInit.c so that stub generation is again supported. Regenerate ODBC stubs. Fix errors in Makefile.in logic that governs test platform selection check-in: 6ee8d704f3 user: kbk tags: detect-sqlwchar-size
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to README.

     1      1   README: tdbcodbc
     2      2   
     3         -    This is the 1.0.6 source distribution of the bridge between Tcl
            3  +    This is the 1.1.0 source distribution of the bridge between Tcl
     4      4       Database Connectivity (TDBC) and Open Database Connectivity
     5      5       (ODBC), a database-neutral API layer available on all Windows
     6      6       systems and many others.. TDBC and its drivers are available from
     7      7       a Fossil version control repository at http://tdbc.tcl.tk/
     8      8   
     9      9   RCS: @(#) $Id: $
    10     10   

Changes to configure.

     1      1   #! /bin/sh
     2      2   # Guess values for system-dependent variables and create Makefiles.
     3         -# Generated by GNU Autoconf 2.69 for tdbcodbc 1.0.6.
            3  +# Generated by GNU Autoconf 2.69 for tdbcodbc 1.1.0.
     4      4   #
     5      5   #
     6      6   # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7      7   #
     8      8   #
     9      9   # This configure script is free software; the Free Software Foundation
    10     10   # gives unlimited permission to copy, distribute and modify it.
................................................................................
   573    573   subdirs=
   574    574   MFLAGS=
   575    575   MAKEFLAGS=
   576    576   
   577    577   # Identity of this package.
   578    578   PACKAGE_NAME='tdbcodbc'
   579    579   PACKAGE_TARNAME='tdbcodbc'
   580         -PACKAGE_VERSION='1.0.6'
   581         -PACKAGE_STRING='tdbcodbc 1.0.6'
          580  +PACKAGE_VERSION='1.1.0'
          581  +PACKAGE_STRING='tdbcodbc 1.1.0'
   582    582   PACKAGE_BUGREPORT=''
   583    583   PACKAGE_URL=''
   584    584   
   585    585   # Factoring default headers for most tests.
   586    586   ac_includes_default="\
   587    587   #include <stdio.h>
   588    588   #ifdef HAVE_SYS_TYPES_H
................................................................................
   720    720   pdfdir
   721    721   dvidir
   722    722   htmldir
   723    723   infodir
   724    724   docdir
   725    725   oldincludedir
   726    726   includedir
          727  +runstatedir
   727    728   localstatedir
   728    729   sharedstatedir
   729    730   sysconfdir
   730    731   datadir
   731    732   datarootdir
   732    733   libexecdir
   733    734   sbindir
................................................................................
   802    803   sbindir='${exec_prefix}/sbin'
   803    804   libexecdir='${exec_prefix}/libexec'
   804    805   datarootdir='${prefix}/share'
   805    806   datadir='${datarootdir}'
   806    807   sysconfdir='${prefix}/etc'
   807    808   sharedstatedir='${prefix}/com'
   808    809   localstatedir='${prefix}/var'
          810  +runstatedir='${localstatedir}/run'
   809    811   includedir='${prefix}/include'
   810    812   oldincludedir='/usr/include'
   811    813   docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   812    814   infodir='${datarootdir}/info'
   813    815   htmldir='${docdir}'
   814    816   dvidir='${docdir}'
   815    817   pdfdir='${docdir}'
................................................................................
  1053   1055       ac_prev=psdir ;;
  1054   1056     -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1055   1057       psdir=$ac_optarg ;;
  1056   1058   
  1057   1059     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1058   1060     | -silent | --silent | --silen | --sile | --sil)
  1059   1061       silent=yes ;;
         1062  +
         1063  +  -runstatedir | --runstatedir | --runstatedi | --runstated \
         1064  +  | --runstate | --runstat | --runsta | --runst | --runs \
         1065  +  | --run | --ru | --r)
         1066  +    ac_prev=runstatedir ;;
         1067  +  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
         1068  +  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
         1069  +  | --run=* | --ru=* | --r=*)
         1070  +    runstatedir=$ac_optarg ;;
  1060   1071   
  1061   1072     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1062   1073       ac_prev=sbindir ;;
  1063   1074     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1064   1075     | --sbi=* | --sb=*)
  1065   1076       sbindir=$ac_optarg ;;
  1066   1077   
................................................................................
  1191   1202     esac
  1192   1203   fi
  1193   1204   
  1194   1205   # Check all directory arguments for consistency.
  1195   1206   for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1196   1207   		datadir sysconfdir sharedstatedir localstatedir includedir \
  1197   1208   		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1198         -		libdir localedir mandir
         1209  +		libdir localedir mandir runstatedir
  1199   1210   do
  1200   1211     eval ac_val=\$$ac_var
  1201   1212     # Remove trailing slashes.
  1202   1213     case $ac_val in
  1203   1214       */ )
  1204   1215         ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1205   1216         eval $ac_var=\$ac_val;;
................................................................................
  1304   1315   #
  1305   1316   # Report the --help message.
  1306   1317   #
  1307   1318   if test "$ac_init_help" = "long"; then
  1308   1319     # Omit some internal or obsolete options to make the list less imposing.
  1309   1320     # This message is too long to be a string in the A/UX 3.1 sh.
  1310   1321     cat <<_ACEOF
  1311         -\`configure' configures tdbcodbc 1.0.6 to adapt to many kinds of systems.
         1322  +\`configure' configures tdbcodbc 1.1.0 to adapt to many kinds of systems.
  1312   1323   
  1313   1324   Usage: $0 [OPTION]... [VAR=VALUE]...
  1314   1325   
  1315   1326   To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1316   1327   VAR=VALUE.  See below for descriptions of some of the useful variables.
  1317   1328   
  1318   1329   Defaults for the options are specified in brackets.
................................................................................
  1344   1355   Fine tuning of the installation directories:
  1345   1356     --bindir=DIR            user executables [EPREFIX/bin]
  1346   1357     --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1347   1358     --libexecdir=DIR        program executables [EPREFIX/libexec]
  1348   1359     --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1349   1360     --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1350   1361     --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
         1362  +  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
  1351   1363     --libdir=DIR            object code libraries [EPREFIX/lib]
  1352   1364     --includedir=DIR        C header files [PREFIX/include]
  1353   1365     --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1354   1366     --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1355   1367     --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1356   1368     --infodir=DIR           info documentation [DATAROOTDIR/info]
  1357   1369     --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
................................................................................
  1365   1377   
  1366   1378     cat <<\_ACEOF
  1367   1379   _ACEOF
  1368   1380   fi
  1369   1381   
  1370   1382   if test -n "$ac_init_help"; then
  1371   1383     case $ac_init_help in
  1372         -     short | recursive ) echo "Configuration of tdbcodbc 1.0.6:";;
         1384  +     short | recursive ) echo "Configuration of tdbcodbc 1.1.0:";;
  1373   1385      esac
  1374   1386     cat <<\_ACEOF
  1375   1387   
  1376   1388   Optional Features:
  1377   1389     --disable-option-checking  ignore unrecognized --enable/--with options
  1378   1390     --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1379   1391     --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
................................................................................
  1468   1480       cd "$ac_pwd" || { ac_status=$?; break; }
  1469   1481     done
  1470   1482   fi
  1471   1483   
  1472   1484   test -n "$ac_init_help" && exit $ac_status
  1473   1485   if $ac_init_version; then
  1474   1486     cat <<\_ACEOF
  1475         -tdbcodbc configure 1.0.6
         1487  +tdbcodbc configure 1.1.0
  1476   1488   generated by GNU Autoconf 2.69
  1477   1489   
  1478   1490   Copyright (C) 2012 Free Software Foundation, Inc.
  1479   1491   This configure script is free software; the Free Software Foundation
  1480   1492   gives unlimited permission to copy, distribute and modify it.
  1481   1493   _ACEOF
  1482   1494     exit
................................................................................
  2070   2082     as_fn_set_status $ac_retval
  2071   2083   
  2072   2084   } # ac_fn_c_compute_int
  2073   2085   cat >config.log <<_ACEOF
  2074   2086   This file contains any messages produced by compilers while
  2075   2087   running configure, to aid debugging if configure makes a mistake.
  2076   2088   
  2077         -It was created by tdbcodbc $as_me 1.0.6, which was
         2089  +It was created by tdbcodbc $as_me 1.1.0, which was
  2078   2090   generated by GNU Autoconf 2.69.  Invocation command line was
  2079   2091   
  2080   2092     $ $0 $@
  2081   2093   
  2082   2094   _ACEOF
  2083   2095   exec 5>>config.log
  2084   2096   {
................................................................................
 10065  10077   test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 10066  10078   
 10067  10079   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 10068  10080   # Save the log message, to keep $0 and so on meaningful, and to
 10069  10081   # report actual input values of CONFIG_FILES etc. instead of their
 10070  10082   # values after options handling.
 10071  10083   ac_log="
 10072         -This file was extended by tdbcodbc $as_me 1.0.6, which was
        10084  +This file was extended by tdbcodbc $as_me 1.1.0, which was
 10073  10085   generated by GNU Autoconf 2.69.  Invocation command line was
 10074  10086   
 10075  10087     CONFIG_FILES    = $CONFIG_FILES
 10076  10088     CONFIG_HEADERS  = $CONFIG_HEADERS
 10077  10089     CONFIG_LINKS    = $CONFIG_LINKS
 10078  10090     CONFIG_COMMANDS = $CONFIG_COMMANDS
 10079  10091     $ $0 $@
................................................................................
 10118  10130   
 10119  10131   Report bugs to the package provider."
 10120  10132   
 10121  10133   _ACEOF
 10122  10134   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 10123  10135   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 10124  10136   ac_cs_version="\\
 10125         -tdbcodbc config.status 1.0.6
        10137  +tdbcodbc config.status 1.1.0
 10126  10138   configured by $0, generated by GNU Autoconf 2.69,
 10127  10139     with options \\"\$ac_cs_config\\"
 10128  10140   
 10129  10141   Copyright (C) 2012 Free Software Foundation, Inc.
 10130  10142   This config.status script is free software; the Free Software Foundation
 10131  10143   gives unlimited permission to copy, distribute and modify it."
 10132  10144   

Changes to configure.ac.

     7      7   # Set your package name and version numbers here.
     8      8   #
     9      9   # This initializes the environment with PACKAGE_NAME and PACKAGE_VERSION
    10     10   # set as provided.  These will also be added as -D defs in your Makefile
    11     11   # so you can encode the package version directly into the source files.
    12     12   #-----------------------------------------------------------------------
    13     13   
    14         -AC_INIT([tdbcodbc], [1.0.6])
           14  +AC_INIT([tdbcodbc], [1.1.0])
    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