diff options
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure index ac4a6a3..db36eb7 100755 --- a/unix/configure +++ b/unix/configure @@ -12453,7 +12453,12 @@ fi; fi # Define TCL_LIBS now that we know what DL_LIBS is. - TCL_LIBS="${DL_LIBS} ${LIBS} ${MATH_LIBS}" + # The trick here is that we don't want to change + # the value of TCL_LIBS if it is already set when + # tclConfig.sh had been loaded by Tk. + if test "x${TCL_LIBS}" = "x"; then + TCL_LIBS="${DL_LIBS} ${LIBS} ${MATH_LIBS}" + fi # FIXME: This subst was left in only because the TCL_DL_LIBS |