Re: TCL/TK configuration clean-up patches

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Bill(dot)Allie(at)mug(dot)org
Cc: hackers(at)postgresql(dot)org, patches(at)postgresql(dot)org
Subject: Re: TCL/TK configuration clean-up patches
Date: 1998-10-15 15:58:31
Message-ID: 199810151558.LAA15033@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Applied.

> The attached patches clean-up the TCL/TK configuration as follows:
>
> 1. Removed unnecessary code relating to TCL/TK configuration from configure.
>
> 2. Change TCL/TK enabling to be dependant on the existance of an executable
> tclsh (locatable via $PATH) and the existance of tclConfig.sh and
> tkConfig.sh.
>
> 3. The directories that are searched for the *Config.sh file is determined by
> the contents of $LIBRARY_DIRS (set by '--with-libs' or '--with-libraries')
> and the output generated by executing 'echo "puts $auto_path" | tchsh".
> [Thanks Roland!]
>
> Note: If TK is installed in a different location the TCL, you must use the
> --with-libs (or --with-libraries) option of configure to specify it's
> location.
>
> 4. Added "USE_TK" to Makefile.global which is set if TK support is available
> (as determined by the existance of tkConfig.sh). USE_TK will only be set
> true if USE_TCL is true, and TK support is available. This will allow
> features/programs that only depend on TCL to compile and install even if
> TK support is missing.
>
> 5. Modified the pgtclsh Makefile so that pgtclsh will compile and install even
> if TK support is missing. pgtksh will not be built unless TK support is
> available.
>
> NOTE: The file, bin/pgtclsh/mkMakefile.tcltkdefs.sh.in, is no longer needed and
> can be removed.
>
> NOTE: With these changes (and earlier ones), manually setting USE_TCL and
> USE_TK in Makefile.global becomes a very bad idea and will cause the
> build to fail.

--
Bruce Momjian | http://www.op.net/~candle
maillist(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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-10-15 16:01:13 Re: [HACKERS] Re: order by and index path
Previous Message Tom Lane 1998-10-15 15:51:47 Re: Wishes for PostgreSQL 6.4