Re: [HACKERS] TCL/TK library glitches in configure.in

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: brook@trillium.NMSU.Edu (Brook Milligan)
Cc: hackers@postgreSQL.org
Date: 1998-10-12T19:43:51Z
Lists: pgsql-hackers
I have removed the mention of TCL_LIB from Makefile.global.  The new
code looks in tcconfig.sh, and gets the values there.  I just fixed it
today.  Please check for the commented out entries in Makefile.global
and test it to see if it works.  Seems to work here.

However, I will apply the patch and remove the Makefile.global comments
of TCL_LIB, just so we can keep it around.  I think Billy is working on
removal of that hole section.

Thanks.

> The configure script is not correctly substituting the TCL/TK
> libraries it finds.  Please remember that setting variables in the
> configure script is not enough to get them substituted into Makefiles
> and such.
> 
> Please apply the following patch and rerun autoconf.
> 
> Cheers,
> Brook
> 
> ===========================================================================
> --- configure.in.orig	Mon Oct 12 01:00:20 1998
> +++ configure.in	Mon Oct 12 11:08:29 1998
> @@ -800,6 +800,7 @@
>  		USE_TCL=
>  	else
>  		TCL_LIB=-l$TCL_LIB
> +		AC_SUBST(TCL_LIB)
>  	fi
>  fi
>  
> @@ -883,6 +884,7 @@
>  		USE_TCL=
>  	else
>  		TK_LIB=-l$TK_LIB
> +		AC_SUBST(TK_LIB)
>  	fi
>  
>  	LIBS="$ice_save_LIBS"
> 
> 


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