Re: libpgtcl

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rudolf Weber <rfweber(at)bluewin(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: libpgtcl
Date: 2000-06-13 09:15:20
Message-ID: 200006130915.FAA27781@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Applied.

> Hello,
>
> in the Directory src/bin/pgtclsh there is a good mechanism to integrate
> the
> tcl-spec in the Makefile.
> The patch in the attachemant does this in the src/interfaces/libpgtcl
> too
>
> Thank you
> Rudolf
> --
> ---------------------------------------------------------------
> Rudolf Weber
> http://www.infnet.verein.de/home/rw
> E-Mail: rfweber(at)bluewin(dot)de

> --- ./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:
> -(at)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

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

  • libpgtcl at 2000-06-06 17:28:29 from Rudolf Weber

Browse pgsql-bugs by date

  From Date Subject
Next Message Tucker I Sylvestro 2000-06-14 04:47:31 Re: foregein key
Previous Message Bruce Momjian 2000-06-13 09:09:53 Re: jdbc2 bug in absolute (ResultSet.java)