tdbc::mysql

Check-in [294633cee4]
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:Use tdbc_SRC_DIR from tdbcConfig.sh to locate genstubs tool, instead of hardcoded path.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tdbcmysql-1-0-5
Files: files | file ages | folders
SHA1: 294633cee4146835fdcc45f7c5f2ec891120891d
User & Date: stu 2017-06-05 19:08:10
Context
2017-12-13
11:14
Merge vc-reform: new nmake build system check-in: 136ee941d4 user: apnadkarni tags: trunk
2017-12-10
12:48
Create new branch named "vc-reform" check-in: 351a56ddf7 user: apnadkarni tags: vc-reform
2017-06-05
19:08
Use tdbc_SRC_DIR from tdbcConfig.sh to locate genstubs tool, instead of hardcoded path. check-in: 294633cee4 user: stu tags: trunk, tdbcmysql-1-0-5
2017-05-29
21:23
Finish INT2PTR/PTR2INT work for tdbc-mysql:clean out commented casts. check-in: 49a3fb27cb user: stu tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.in.

103
104
105
106
107
108
109

110
111
112
113
114
115
116
...
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
#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]

#========================================================================
................................................................................

	(cd $(DIST_ROOT); $(COMPRESS);)

#========================================================================
# How to rebuild the package's stub table.
#========================================================================

genstubs: $(srcdir)/../tdbc/tools/genExtStubs.tcl $(srcdir)/generic/mysqlStubDefs.txt
	@echo $(TCLSH_PROGRAM) $(srcdir)/../tdbc/tools/genExtStubs.tcl \
		$(srcdir)/generic/mysqlStubDefs.txt \
		$(srcdir)/generic/mysqlStubs.h \
		$(srcdir)/generic/mysqlStubInit.c
	@$(TCLSH) $(srcdir)/../tdbc/tools/genExtStubs.tcl \
		$(srcdir)/generic/mysqlStubDefs.txt \
		$(srcdir)/generic/mysqlStubs.h \
		$(srcdir)/generic/mysqlStubInit.c

#========================================================================
# End of user-definable section
#========================================================================






>







 







|
|



|







103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
...
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
#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_SRC_DIR	= @[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]

#========================================================================
................................................................................

	(cd $(DIST_ROOT); $(COMPRESS);)

#========================================================================
# How to rebuild the package's stub table.
#========================================================================

genstubs: $(TDBC_SRC_DIR)/tools/genExtStubs.tcl $(srcdir)/generic/mysqlStubDefs.txt
	@echo $(TCLSH_PROGRAM) $(TDBC_SRC_DIR)/tools/genExtStubs.tcl \
		$(srcdir)/generic/mysqlStubDefs.txt \
		$(srcdir)/generic/mysqlStubs.h \
		$(srcdir)/generic/mysqlStubInit.c
	@$(TCLSH) $(TDBC_SRC_DIR)/tools/genExtStubs.tcl \
		$(srcdir)/generic/mysqlStubDefs.txt \
		$(srcdir)/generic/mysqlStubs.h \
		$(srcdir)/generic/mysqlStubInit.c

#========================================================================
# End of user-definable section
#========================================================================

Changes to configure.

3963
3964
3965
3966
3967
3968
3969

3970
3971
3972
3973
3974
3975
3976
$as_echo "$as_me: WARNING: Looking for \"${tdbc_BIN_DIR}/Makefile\"" >&2;}
if test -f "${tdbc_BIN_DIR}/Makefile" ; then
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Makefile - using build include spec and lib specs for tdbc" >&5
$as_echo "$as_me: WARNING: Found Makefile - using build include spec and lib specs for tdbc" >&2;}
    tdbc_INCLUDE_SPEC=${tdbc_BUILD_INCLUDE_SPEC}
    tdbc_LIBRARY_PATH=${tdbc_BUILD_LIBRARY_PATH}
fi






#-----------------------------------------------------------------------
# Handle the --prefix=... option by defaulting to what Tcl gave.






>







3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
$as_echo "$as_me: WARNING: Looking for \"${tdbc_BIN_DIR}/Makefile\"" >&2;}
if test -f "${tdbc_BIN_DIR}/Makefile" ; then
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Makefile - using build include spec and lib specs for tdbc" >&5
$as_echo "$as_me: WARNING: Found Makefile - using build include spec and lib specs for tdbc" >&2;}
    tdbc_INCLUDE_SPEC=${tdbc_BUILD_INCLUDE_SPEC}
    tdbc_LIBRARY_PATH=${tdbc_BUILD_LIBRARY_PATH}
fi






#-----------------------------------------------------------------------
# Handle the --prefix=... option by defaulting to what Tcl gave.

Changes to configure.ac.

62
63
64
65
66
67
68

69
70
71
72
73
74
75
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.
#-----------------------------------------------------------------------






>







62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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_SRC_DIR)
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.
#-----------------------------------------------------------------------