bootstrap.conf 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Bootstrap configuration for GNU tar.
  2. # Copyright 2006-2009, 2013-2014 Free Software Foundation, Inc.
  3. # This file is part of GNU tar.
  4. # GNU tar is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 3 of the License, or
  7. # (at your option) any later version.
  8. # GNU tar is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. source_base=gnu
  15. gnulib_name=libgnu
  16. # We don't need these modules, even though gnulib-tool mistakenly
  17. # includes them because of gettext dependencies.
  18. avoided_gnulib_modules='
  19. --avoid=lock
  20. '
  21. # gnulib modules used by this package.
  22. gnulib_modules="$avoided_gnulib_modules
  23. `grep '^[^#]' gnulib.modules`
  24. "
  25. # Additional xgettext options to use. Use "\\\newline" to break lines.
  26. XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
  27. --flag=_:1:pass-c-format\\\
  28. --flag=N_:1:pass-c-format\\\
  29. --flag=error:3:c-format --flag=error_at_line:5:c-format\\\
  30. --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\
  31. --flag=argp_error:2:c-format\\\
  32. --flag=__argp_error:2:c-format\\\
  33. --flag=argp_failure:4:c-format\\\
  34. --flag=__argp_failure:4:c-format\\\
  35. --flag=argp_fmtstream_printf:2:c-format\\\
  36. --flag=__argp_fmtstream_printf:2:c-format\\\
  37. '
  38. # Gettext supplies these files, but we don't need them since
  39. # we don't have an intl subdirectory.
  40. excluded_files='
  41. m4/glibc2.m4
  42. m4/intdiv0.m4
  43. m4/lcmessage.m4
  44. m4/lock.m4
  45. m4/printf-posix.m4
  46. m4/uintmax_t.m4
  47. m4/ulonglong.m4
  48. m4/visibility.m4
  49. '
  50. # Read local configuration file
  51. if [ -r .bootstrap ]; then
  52. echo "$0: Reading configuration file .bootstrap"
  53. eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*"
  54. fi
  55. test -d m4 || mkdir m4
  56. test -d $source_base || mkdir $source_base
  57. test -f ChangeLog || cat > ChangeLog <<EOT
  58. This file is a placeholder. It will be replaced with the actual ChangeLog
  59. by make dist. Run make ChangeLog if you wish to create it earlier.
  60. EOT