tdbc::mysql

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

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

Overview
Comment:Changes to the configurator so that `make test` works even if tdbc is not installed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f54ba75c4dafd7ade1d4f4497f27a751433fbc22
User & Date: kennykb 2012-11-15 22:16:43
Context
2012-12-06
17:05
Attempt to add MSVC support via copy/paste/modify from other drivers. check-in: 51fffbbe1f user: dgp tags: trunk
2012-11-15
22:16
Changes to the configurator so that `make test` works even if tdbc is not installed. check-in: f54ba75c4d user: kennykb tags: trunk
2012-11-14
17:10
REFACTOR REPOSITORY : move tdbcmysql/ to the main directory check-in: fb843aee13 user: 200002852 tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.








1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19






2012-11-08  Don Porter  <[email protected]>

	* configure.in:
	* README:	Advanced version number to 1.0.0.
	* configure: 	autoconf 2.59

2012-07-26  Jan Nijtmans  <[email protected]>

	* generic/mysqlStubInit.c: Fix [14a8b7c3bd]: package tdbc::mysql fails
	to load under Fedora 17. Make some tables "const". 
	* tclconfig/install-sh:    Update to latest TEA
	* tclconfig/tcl.m4:	
	* configure:		       autoconf-2.59

2012-07-13  Kevin B. Kenny  <[email protected]>

	* test/tdbcmysql.test: Make functional tests refuse to run unless
			       the environment variable TDBCMYSQL_TEST_DB
			       explicitly designates a database.
>
>
>
>
>
>
>









|

|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
2012-11-15  KevinB. Kenny  <[email protected]>

	* configure.in: Made change so that `make test` works even
	* Makefile.in:  against an uninstalled version of tdbc.
	* configure:    autoconf 2.68
		*** ADVANCED THE VERSION OF AUTOCONF IN USE ***

2012-11-08  Don Porter  <[email protected]>

	* configure.in:
	* README:	Advanced version number to 1.0.0.
	* configure: 	autoconf 2.59

2012-07-26  Jan Nijtmans  <[email protected]>

	* generic/mysqlStubInit.c: Fix [14a8b7c3bd]: package tdbc::mysql fails
	to load under Fedora 17. Make some tables "const".
	* tclconfig/install-sh:    Update to latest TEA
	* tclconfig/tcl.m4
	* configure:		       autoconf-2.59

2012-07-13  Kevin B. Kenny  <[email protected]>

	* test/tdbcmysql.test: Make functional tests refuse to run unless
			       the environment variable TDBCMYSQL_TEST_DB
			       explicitly designates a database.

Changes to Makefile.in.

112
113
114
115
116
117
118




119
120
121
122
123
124
125
...
234
235
236
237
238
239
240
241


242
243
244
245
246
247
248
STLIB_LD	= @[email protected]
#TCL_DEFS	= @[email protected]
TCL_BIN_DIR	= @[email protected]
TCL_SRC_DIR	= @[email protected]
#TK_BIN_DIR	= @[email protected]
#TK_SRC_DIR	= @[email protected]





# Not used, but retained for reference of what libs Tcl required
#TCL_LIBS	= @[email protected]

#========================================================================
# TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our
# package without installing.  The other environment variables allow us
# to test against an uninstalled Tcl.  Add special env vars that you
................................................................................
	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
	done

test: binaries libraries
	$(TCLSH) `@[email protected] $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::mysql $(PACKAGE_VERSION) \
			[list source `@[email protected] $(srcdir)/library/tdbcmysql.tcl`]\;[list load `@[email protected] $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"



valgrind: binaries libraries
	$(PKG_ENV) $(TCLSH_ENV) \
	LD_PRELOAD=$(PKG_LIB_FILE) \
	$(VALGRIND) $(VALGRINDARGS) \
	$(TCLSH_PROG) `@[email protected] $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::mysql ${PACKAGE_VERSION} \






>
>
>
>







 







|
>
>







112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
...
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
STLIB_LD	= @[email protected]
#TCL_DEFS	= @[email protected]
TCL_BIN_DIR	= @[email protected]
TCL_SRC_DIR	= @[email protected]
#TK_BIN_DIR	= @[email protected]
#TK_SRC_DIR	= @[email protected]

TDBC_VERSION	= @[email protected]
TDBC_BIN_DIR	= @[email protected]
TDBC_LIB_FILE	= @[email protected]

# Not used, but retained for reference of what libs Tcl required
#TCL_LIBS	= @[email protected]

#========================================================================
# TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our
# package without installing.  The other environment variables allow us
# to test against an uninstalled Tcl.  Add special env vars that you
................................................................................
	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
	done

test: binaries libraries
	$(TCLSH) `@[email protected] $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::mysql $(PACKAGE_VERSION) \
			[list source `@[email protected] $(srcdir)/library/tdbcmysql.tcl`]\;[list load `@[email protected] $(PKG_LIB_FILE)` $(PACKAGE_NAME)];\
		package ifneeded tdbc ${TDBC_VERSION} \
			[list source `@[email protected] $(TDBC_BIN_DIR)/tdbc.tcl`]\;[list load `@[email protected] $(TDBC_BIN_DIR)/$(TDBC_LIB_FILE)` tdbc]"

valgrind: binaries libraries
	$(PKG_ENV) $(TCLSH_ENV) \
	LD_PRELOAD=$(PKG_LIB_FILE) \
	$(VALGRIND) $(VALGRINDARGS) \
	$(TCLSH_PROG) `@[email protected] $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::mysql ${PACKAGE_VERSION} \

Changes to configure.

more than 10,000 changes

Changes to configure.in.

1
2
3
4
5
6
7
8
..
67
68
69
70
71
72
73



74
75
76
77
78
79
80
n#!/bin/bash -norc
dnl	This file is an input file used by the GNU "autoconf" program to
dnl	generate the file "configure", which is run during Tcl installation
dnl	to configure the system for the local environment.
#
# RCS: @(#) $Id: configure.in,v 1.47 2007/02/09 19:06:47 hobbs Exp $

#-----------------------------------------------------------------------
................................................................................
AC_MSG_WARN([Looking for "${tdbc_BIN_DIR}/Makefile"])
if test -f "${tdbc_BIN_DIR}/Makefile" ; then
    AC_MSG_WARN([Found Makefile - using build include spec and lib specs for tdbc])
    tdbc_INCLUDE_SPEC=${tdbc_BUILD_INCLUDE_SPEC}
    tdbc_LIBRARY_PATH=${tdbc_BUILD_LIBRARY_PATH}
fi
AC_SUBST(tdbc_LIBRARY_PATH)




#-----------------------------------------------------------------------
# Handle the --prefix=... option by defaulting to what Tcl gave.
# Must be called after TEA_LOAD_TCLCONFIG and before TEA_SETUP_COMPILER.
#-----------------------------------------------------------------------

TEA_PREFIX
|







 







>
>
>







1
2
3
4
5
6
7
8
..
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/bin/bash -norc
dnl	This file is an input file used by the GNU "autoconf" program to
dnl	generate the file "configure", which is run during Tcl installation
dnl	to configure the system for the local environment.
#
# RCS: @(#) $Id: configure.in,v 1.47 2007/02/09 19:06:47 hobbs Exp $

#-----------------------------------------------------------------------
................................................................................
AC_MSG_WARN([Looking for "${tdbc_BIN_DIR}/Makefile"])
if test -f "${tdbc_BIN_DIR}/Makefile" ; then
    AC_MSG_WARN([Found Makefile - using build include spec and lib specs for tdbc])
    tdbc_INCLUDE_SPEC=${tdbc_BUILD_INCLUDE_SPEC}
    tdbc_LIBRARY_PATH=${tdbc_BUILD_LIBRARY_PATH}
fi
AC_SUBST(tdbc_LIBRARY_PATH)
AC_SUBST(TDBC_VERSION)
AC_SUBST(tdbc_BIN_DIR)
AC_SUBST(TDBC_LIB_FILE)

#-----------------------------------------------------------------------
# Handle the --prefix=... option by defaulting to what Tcl gave.
# Must be called after TEA_LOAD_TCLCONFIG and before TEA_SETUP_COMPILER.
#-----------------------------------------------------------------------

TEA_PREFIX