000-bootstrap.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --- a/bootstrap
  2. +++ b/bootstrap
  3. @@ -244,7 +244,7 @@ check_exists() {
  4. ($2 --version </dev/null)
  5. fi
  6. else
  7. - ($1 --version </dev/null) >/dev/null 2>&1
  8. + ($@ --version </dev/null) >/dev/null 2>&1
  9. fi
  10. test $? -lt 126
  11. @@ -309,7 +309,7 @@ p
  12. q'
  13. get_version() {
  14. - app=$1
  15. + app="$@"
  16. $app --version >/dev/null 2>&1 || { $app --version; return 1; }
  17. @@ -366,13 +366,13 @@ check_versions() {
  18. if [ "$req_ver" = "-" ]; then
  19. # Merely require app to exist; not all prereq apps are well-behaved
  20. # so we have to rely on $? rather than get_version.
  21. - if ! check_exists --verbose $app; then
  22. + if ! check_exists --verbose "$app"; then
  23. warn_ "Error: '$app' not found"
  24. ret=1
  25. fi
  26. else
  27. # Require app to produce a new enough version string.
  28. - inst_ver=$(get_version $app)
  29. + inst_ver=$(get_version "$app")
  30. if [ ! "$inst_ver" ]; then
  31. warn_ "Error: '$app' not found"
  32. ret=1
  33. @@ -1205,7 +1205,7 @@ autogen()
  34. # two just-pre-run programs.
  35. # Import from gettext.
  36. - with_gettext=yes
  37. + with_gettext=no
  38. grep '^[ ]*AM_GNU_GETTEXT_VERSION(' configure.ac >/dev/null || \
  39. with_gettext=no
  40. --- a/bootstrap.conf
  41. +++ b/bootstrap.conf
  42. @@ -354,11 +354,8 @@ gnulib_tool_option_extras="--tests-base=
  43. buildreq="\
  44. autoconf 2.64
  45. automake 1.11.2
  46. -autopoint 0.19.2
  47. bison -
  48. -gettext 0.19.2
  49. git 1.4.4
  50. -gperf -
  51. gzip -
  52. m4 -
  53. makeinfo 6.1