postgres-tcl.patch

text/plain

Filename: postgres-tcl.patch
Type: text/plain
Part: 0
Message: libpgtcl

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/configure.in 2 0
src/interfaces/libpgtcl/Makefile.in 13 0
src/interfaces/libpgtcl/mkMakefile.tcldefs.sh.in 16 0
src/interfaces/libpgtcl/mkMakefile.tkdefs.sh.in 18 0
--- ./src/interfaces/libpgtcl/mkMakefile.tcldefs.sh.in.orig	Tue Jun  6 01:03:10 2000
+++ ./src/interfaces/libpgtcl/mkMakefile.tcldefs.sh.in	Tue Jun  6 01:02:19 2000
@@ -0,0 +1,16 @@
+
+if [ ! -f @TCL_CONFIG_SH@ ]; then
+    echo "@TCL_CONFIG_SH@ not found"
+    echo "I need this file! Please make a symbolic link to this file"
+    echo "and start make again."
+    exit 1
+fi
+
+cat @TCL_CONFIG_SH@ |
+    egrep '^TCL_' |
+    while read inp
+    do
+	    eval eval echo $inp
+    done >Makefile.tcldefs
+
+exit 0
--- ./src/interfaces/libpgtcl/mkMakefile.tkdefs.sh.in.orig	Tue Jun  6 01:03:21 2000
+++ ./src/interfaces/libpgtcl/mkMakefile.tkdefs.sh.in	Tue Jun  6 01:02:19 2000
@@ -0,0 +1,18 @@
+
+if [ ! -f @TK_CONFIG_SH@ ]; then
+    echo "@TK_CONFIG_SH@ not found"
+    echo "I need this file! Please make a symbolic link to this file"
+    echo "and start make again."
+    exit 1
+fi
+
+. @TK_CONFIG_SH@
+
+cat @TK_CONFIG_SH@ |
+    egrep '^TK_' |
+    while read inp
+    do
+	    eval eval echo $inp
+    done >Makefile.tkdefs
+
+exit 0
--- ./src/interfaces/libpgtcl/Makefile.in.orig	Wed Mar  8 02:58:36 2000
+++ ./src/interfaces/libpgtcl/Makefile.in	Tue Jun  6 01:22:46 2000
@@ -17,6 +17,14 @@
 SRCDIR= @top_srcdir@
 include $(SRCDIR)/Makefile.global
 
+#
+# Include definitions from the tclConfig.sh file
+#
+include Makefile.tcldefs
+ifeq ($(USE_TK), true)
+include Makefile.tkdefs
+endif
+
 CFLAGS+= -I$(SRCDIR)/backend \
          -I$(SRCDIR)/include \
          -I$(LIBPQDIR)
@@ -48,6 +56,11 @@
 beforeinstall-headers:
 	-@if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
 
+Makefile.tcldefs: mkMakefile.tcldefs.sh
+	/bin/sh mkMakefile.tcldefs.sh
+
+Makefile.tkdefs: mkMakefile.tkdefs.sh
+	/bin/sh mkMakefile.tkdefs.sh
 
 .PHONY: clean
 
--- ./src/configure.in.orig	Thu May 25 00:43:59 2000
+++ ./src/configure.in	Tue Jun  6 01:16:10 2000
@@ -1371,6 +1371,8 @@
 	interfaces/ecpg/preproc/Makefile
 	interfaces/libpq++/Makefile
 	interfaces/libpgeasy/Makefile
+	interfaces/libpgtcl/mkMakefile.tcldefs.sh
+	interfaces/libpgtcl/mkMakefile.tkdefs.sh
 	interfaces/libpgtcl/Makefile
 	interfaces/odbc/GNUmakefile
 	interfaces/odbc/Makefile.global