TEA (tclconfig) Source Code

View Ticket
Login
Ticket UUID: 4b01dadd353ec229b790ea5a270d91e0210cf559
Title: [PATCH] fix logical expression by adding keyword TEST
Type: Patch Version:
Submitter: anonymous Created on: 2020-05-26 23:17:18
Subsystem: 85. tclconfig Assigned To: nobody
Priority: 5 Medium Severity: Critical
Status: Open Last Modified: 2020-05-26 23:17:18
Resolution: None Closed By: nobody
    Closed on:
Description:
Tiny patch to fix logical expression by adding 'test'.

Thanks,
J.


diff --git a/tcl.m4 b/tcl.m4
index a80742e..ad75eb3 100644
--- a/tcl.m4
+++ b/tcl.m4
@@ -1958,7 +1958,7 @@ dnl # preprocessing tests use only CPPFLAGS.
     # TEA specific: use PACKAGE_VERSION instead of VERSION
     UNSHARED_LIB_SUFFIX='${PACKAGE_VERSION}.a'])
 
-    if test "${GCC}" = "yes" -a ${SHLIB_SUFFIX} = ".dll"; then
+    if test "${GCC}" = "yes" -a test ${SHLIB_SUFFIX} = ".dll"; then
        AC_CACHE_CHECK(for SEH support in compiler,
            tcl_cv_seh,
        AC_TRY_RUN([