libsigrokdecode-0.3.0-configure-test.patch 859 B

1234567891011121314151617181920212223242526272829
  1. https://sourceforge.net/p/sigrok/mailman/message/32459769/
  2. From dc83770847c39934f5cbc63c8652124fafcb8d0b Mon Sep 17 00:00:00 2001
  3. From: Mike Frysinger <vapier@gentoo.org>
  4. Date: Sat, 14 Jun 2014 01:37:12 -0400
  5. Subject: [PATCH 1/2] fix test operator
  6. The == operator is not in POSIX.
  7. ---
  8. configure.ac | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/configure.ac b/configure.ac
  11. index 9527379..3f661ec 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -125,7 +125,7 @@ AC_SUBST(MODNAME_PYTHON)
  15. # We also need to find the name of the python3 executable (for 'make install').
  16. # Some OSes call this python3, some call it python3.2, etc. etc.
  17. AC_CHECK_PROGS([PYTHON3], [python3.4 python3.3 python3.2 python3])
  18. -if test "x$PYTHON3" == "x"; then
  19. +if test "x$PYTHON3" = "x"; then
  20. AC_MSG_ERROR([cannot find python3 executable.])
  21. fi
  22. --
  23. 2.0.0