Posted to tcl by emiliano at Mon Dec 30 13:22:06 GMT 2019view raw
- GNU /bin/test accepts "==" as a synonym of "=", but this is not POSIX behaviour.
- As a result, such invocation doesn't work on *BSD systems.
- emiliano@malbec:~/src/tcl/unix$ fossil diff configure.ac
- Index: unix/configure.ac
- ==================================================================
- --- unix/configure.ac
- +++ unix/configure.ac
- @@ -173,11 +173,11 @@
- libtommath_ok=yes
- 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])
- AS_IF([test $libtommath_ok = yes], [
- AC_SEARCH_LIBS([mp_log_u32],[tommath],[],[
- emiliano@malbec:~/src/tcl/unix$