0001-AX_TLS-fix-syntax-error.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From 1870301013d79be781ead2b0e62fc08f91715ca9 Mon Sep 17 00:00:00 2001
  2. From: Romain Naour <romain.naour@openwide.fr>
  3. Date: Sun, 3 May 2015 23:02:34 +0200
  4. Subject: [PATCH] AX_TLS: fix syntax error
  5. The commit e012eb17b3d67f31dee477592328207437206c33 introduce
  6. a syntax error due to an empty "else" statement.
  7. confifure:
  8. if test "$ac_cv_tls" != "none"; then :
  9. cat >>confdefs.h <<_ACEOF
  10. _ACEOF
  11. else
  12. fi
  13. Remove the [] on the third part of AS_IF.
  14. Signed-off-by: Romain Naour <romain.naour@openwide.fr>
  15. (rebased against version 2017.03.21)
  16. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  17. ---
  18. m4/ax_tls.m4 | 4 ++--
  19. 1 file changed, 2 insertions(+), 2 deletions(-)
  20. diff --git a/m4/ax_tls.m4 b/m4/ax_tls.m4
  21. index 809b761..2135dd2 100644
  22. --- a/m4/ax_tls.m4
  23. +++ b/m4/ax_tls.m4
  24. @@ -44,7 +44,7 @@
  25. # modified version of the Autoconf Macro, you may extend this special
  26. # exception to the GPL to apply to your modified version as well.
  27. -#serial 13
  28. +#serial 14
  29. AC_DEFUN([AX_TLS], [
  30. AC_MSG_CHECKING([for thread local storage (TLS) class])
  31. @@ -70,5 +70,5 @@ AC_DEFUN([AX_TLS], [
  32. AS_IF([test "$ac_cv_tls" != "none"],
  33. [AC_DEFINE_UNQUOTED([TLS],[$ac_cv_tls],[If the compiler supports a TLS storage class define it to that here])
  34. m4_ifnblank([$1],[$1])],
  35. - [m4_ifnblank([$2],[$2])])
  36. + m4_ifnblank([$2],[$2]))
  37. ])
  38. --
  39. 1.9.3