Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 27f1774

Browse files
committed
Remove unused configure variable.
configure extracts TCL_SHLIB_LD_LIBS from tclConfig.sh, and puts the value into Makefile.global, but then we never use it anywhere. It looks like I removed the only usage in cd75f94, but didn't notice that it was the only usage. Might as well mop this up while we're trying to get rid of unnecessary configure steps. Discussion: https://postgr.es/m/2442359.1660835043@sss.pgh.pa.us
1 parent 08909e3 commit 27f1774

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

configure

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ DBTOEPUB
634634
FOP
635635
XSLTPROC
636636
XMLLINT
637-
TCL_SHLIB_LD_LIBS
638637
TCL_SHARED_BUILD
639638
TCL_LIB_SPEC
640639
TCL_LIBS
@@ -18818,7 +18817,7 @@ eval TCL_LIBS=\"$TCL_LIBS\"
1881818817
eval TCL_LIB_SPEC=\"$TCL_LIB_SPEC\"
1881918818
eval TCL_SHARED_BUILD=\"$TCL_SHARED_BUILD\"
1882018819

18821-
if test "$TCL_SHARED_BUILD" != 1; then
18820+
if test "$TCL_SHARED_BUILD" != 1; then
1882218821
as_fn_error $? "cannot build PL/Tcl because Tcl is not a shared library
1882318822
Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1882418823
fi

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,6 @@ if test "$with_tcl" = yes; then
22522252
PGAC_PATH_TCLCONFIGSH([$with_tclconfig])
22532253
PGAC_EVAL_TCLCONFIGSH([$TCL_CONFIG_SH],
22542254
[TCL_INCLUDE_SPEC,TCL_LIBS,TCL_LIB_SPEC,TCL_SHARED_BUILD])
2255-
AC_SUBST(TCL_SHLIB_LD_LIBS)dnl don't want to double-evaluate that one
22562255
if test "$TCL_SHARED_BUILD" != 1; then
22572256
AC_MSG_ERROR([cannot build PL/Tcl because Tcl is not a shared library
22582257
Use --without-tcl to disable building PL/Tcl.])

src/Makefile.global.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ TCL_LIBS = @TCL_LIBS@
221221
TCL_LIB_SPEC = @TCL_LIB_SPEC@
222222
TCL_INCLUDE_SPEC = @TCL_INCLUDE_SPEC@
223223
TCL_SHARED_BUILD = @TCL_SHARED_BUILD@
224-
TCL_SHLIB_LD_LIBS = @TCL_SHLIB_LD_LIBS@
225224

226225
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
227226
PTHREAD_LIBS = @PTHREAD_LIBS@

0 commit comments

Comments
 (0)