TCL/TK library glitches in configure.in

Brook Milligan <brook@trillium.nmsu.edu>

From: Brook Milligan <brook@trillium.NMSU.Edu>
To: hackers@postgresql.org
Date: 1998-10-12T17:27:43Z
Lists: pgsql-hackers
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"