bootstrap.conf 2.3 KB

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