summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorgahr <gahr@gahr.ch>2019-12-30 13:48:44 (GMT)
committergahr <gahr@gahr.ch>2019-12-30 13:48:44 (GMT)
commit54e9b9d2b392b33e0a518fe3cfc55598f63cd51b (patch)
tree8c545c7a6b1283b21666d7d52d332c91bb6650a1 /unix
parent61ddd431cab6fcc9de99b5bcf22b95934a1d95cb (diff)
downloadtcl-54e9b9d2b392b33e0a518fe3cfc55598f63cd51b.zip
tcl-54e9b9d2b392b33e0a518fe3cfc55598f63cd51b.tar.gz
tcl-54e9b9d2b392b33e0a518fe3cfc55598f63cd51b.tar.bz2
Fix equality check, reported by Emiliano
Diffstat (limited to 'unix')
-rw-r--r--unix/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/configure.ac b/unix/configure.ac
index b2370b7..b893d1a 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -175,7 +175,7 @@ AC_ARG_WITH(system-libtommath,
AC_HELP_STRING([--with-system-libtommath],
[use external libtommath (default: true if available, false otherwise)]),
libtommath_ok=${withval})
-if test x"${libtommath_ok}" == x -o x"${libtommath_ok}" != xno; then
+if test x"${libtommath_ok}" = x -o x"${libtommath_ok}" != xno; then
AC_CHECK_HEADER([tommath.h],[
AC_CHECK_TYPE([mp_int],[],[libtommath_ok=no],[#include <tommath.h>])],[
libtommath_ok=no])