libstroke-0.5.1-m4_syntax.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --- libstroke-0.5.1/libstroke.m4 {cset 02bc4a5e-e9e6-4055-a406-5007a0ac3e55}
  2. +++ libstroke-0.5.1/libstroke.m4 {local clone}
  3. @@ -26,7 +26,7 @@
  4. dnl if different from name
  5. dnl description (optional) used to construct help string
  6. dnl
  7. -AC_DEFUN(smr_ARG_WITHLIB, [
  8. +AC_DEFUN([smr_ARG_WITHLIB], [
  9. ifelse($2, , smr_lib=[$1], smr_lib=[$2])
  10. @@ -74,7 +74,7 @@
  11. dnl extra-flags (optional) flags required when compiling the
  12. dnl header, typically more includes; for ex. X_CFLAGS
  13. dnl
  14. -AC_DEFUN(smr_ARG_WITHINCLUDES, [
  15. +AC_DEFUN([smr_ARG_WITHINCLUDES], [
  16. AC_ARG_WITH([$1]-includes,
  17. [ --with-$1-includes=DIR set directory for $1 headers],
  18. @@ -116,7 +116,7 @@
  19. dnl x-libs (optional) extra libraries, if needed to link with lib
  20. dnl x-flags (optional) extra flags, if needed to include header files
  21. dnl
  22. -AC_DEFUN(smr_CHECK_LIB,
  23. +AC_DEFUN([smr_CHECK_LIB],
  24. [
  25. ifelse($2, , smr_lib=[$1], smr_lib=[$2])
  26. ifelse($5, , , smr_header=[$5])
  27. --- libstroke-0.5.1/libgstroke.m4 2011-09-10 02:59:55.000000000 -0400
  28. +++ libstroke-0.5.1/libgstroke.m4 2011-09-10 03:01:14.000000000 -0400
  29. @@ -26,7 +26,7 @@
  30. dnl if different from name
  31. dnl description (optional) used to construct help string
  32. dnl
  33. -AC_DEFUN(smr_ARG_WITHLIB, [
  34. +AC_DEFUN([smr_ARG_WITHLIB], [
  35. ifelse($2, , smr_lib=[$1], smr_lib=[$2])
  36. @@ -74,7 +74,7 @@
  37. dnl extra-flags (optional) flags required when compiling the
  38. dnl header, typically more includes; for ex. X_CFLAGS
  39. dnl
  40. -AC_DEFUN(smr_ARG_WITHINCLUDES, [
  41. +AC_DEFUN([smr_ARG_WITHINCLUDES], [
  42. AC_ARG_WITH([$1]-includes,
  43. [ --with-$1-includes=DIR set directory for $1 headers],
  44. @@ -116,7 +116,7 @@
  45. dnl x-libs (optional) extra libraries, if needed to link with lib
  46. dnl x-flags (optional) extra flags, if needed to include header files
  47. dnl
  48. -AC_DEFUN(smr_CHECK_LIB,
  49. +AC_DEFUN([smr_CHECK_LIB],
  50. [
  51. ifelse($2, , smr_lib=[$1], smr_lib=[$2])
  52. ifelse($5, , , smr_header=[$5])