tdbc::postgres

Check-in [9e1ebeaf84]
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:Use tdbc_SRC_DIR from tdbcConfig.sh to locate genstubs tool, instead of hardcoded path. Make genstubs target like the other tdbcs'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tdbcpostgres-1-0-5
Files: files | file ages | folders
SHA1:9e1ebeaf84246a751dbe7ae8f58392b25b36c6a3
User & Date: stu 2017-06-05 19:10:32
Context
2017-12-13
11:16
Merge vc-reform: new nmake build system check-in: 450f4d6ed0 user: apnadkarni tags: trunk
2017-12-10
14:26
Create new branch named "vc-reform" check-in: 6405dfd97d user: apnadkarni tags: vc-reform
2017-06-05
19:10
Use tdbc_SRC_DIR from tdbcConfig.sh to locate genstubs tool, instead of hardcoded path. Make genstubs target like the other tdbcs'. check-in: 9e1ebeaf84 user: stu tags: trunk, tdbcpostgres-1-0-5
2017-05-28
23:24
Install executables 555 instead of 755. check-in: ab269571d5 user: stu tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.in.

105
106
107
108
109
110
111

112
113
114
115
116
117
118
...
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
#TCL_DEFS	= @TCL_DEFS@
TCL_BIN_DIR	= @TCL_BIN_DIR@
TCL_SRC_DIR	= @TCL_SRC_DIR@
#TK_BIN_DIR	= @TK_BIN_DIR@
#TK_SRC_DIR	= @TK_SRC_DIR@

TDBC_VERSION	= @TDBC_VERSION@

TDBC_BIN_DIR	= @tdbc_BIN_DIR@
TDBC_LIB_FILE	= @TDBC_LIB_FILE@

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

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

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

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

genstubs: $(srcdir)/generic/pqStubDefs.txt
	@echo $(TCLSH_PROGRAM) $(srcdir)/../tdbc/tools/genExtStubs.tcl \
		$(srcdir)/generic/pqStubDefs.txt \
		$(srcdir)/generic/pqStubs.h \
		$(srcdir)/generic/pqStubInit.c
	@$(TCLSH) $(srcdir)/../tdbc/tools/genExtStubs.tcl \
		$(srcdir)/generic/pqStubDefs.txt \
		$(srcdir)/generic/pqStubs.h \
		$(srcdir)/generic/pqStubInit.c

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







>







 







|
|



|







105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
...
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
#TCL_DEFS	= @TCL_DEFS@
TCL_BIN_DIR	= @TCL_BIN_DIR@
TCL_SRC_DIR	= @TCL_SRC_DIR@
#TK_BIN_DIR	= @TK_BIN_DIR@
#TK_SRC_DIR	= @TK_SRC_DIR@

TDBC_VERSION	= @TDBC_VERSION@
TDBC_SRC_DIR	= @tdbc_SRC_DIR@
TDBC_BIN_DIR	= @tdbc_BIN_DIR@
TDBC_LIB_FILE	= @TDBC_LIB_FILE@

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

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

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

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

genstubs: $(TDBC_SRC_DIR)/tools/genExtStubs.tcl $(srcdir)/generic/pqStubDefs.txt
	@echo $(TCLSH_PROGRAM) $(TDBC_SRC_DIR)/tools/genExtStubs.tcl \
		$(srcdir)/generic/pqStubDefs.txt \
		$(srcdir)/generic/pqStubs.h \
		$(srcdir)/generic/pqStubInit.c
	@$(TCLSH) $(TDBC_SRC_DIR)/tools/genExtStubs.tcl \
		$(srcdir)/generic/pqStubDefs.txt \
		$(srcdir)/generic/pqStubs.h \
		$(srcdir)/generic/pqStubInit.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.
#-----------------------------------------------------------------------