maint: add copyright notice to init.cfg
[coreutils.git] / bootstrap.conf
blob0ba560c031ec090ddba8bce0d622f4729b4b3371
1 # Bootstrap configuration.
3 # Copyright (C) 2006-2011 Free Software Foundation, Inc.
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 # We don't need these modules.
20 avoided_gnulib_modules='
21   --avoid=canonicalize-lgpl
22   --avoid=dummy
25 # gnulib modules used by this package.
26 gnulib_modules="
27   $avoided_gnulib_modules
28   acl
29   alignof
30   alloca
31   announce-gen
32   areadlink-with-size
33   argmatch
34   argv-iter
35   assert
36   autobuild
37   backupfile
38   base64
39   c-strcase
40   c-strtod
41   c-strtold
42   calloc-gnu
43   canon-host
44   canonicalize
45   chown
46   cloexec
47   closein
48   closeout
49   config-h
50   configmake
51   crypto/md5
52   crypto/sha1
53   crypto/sha256
54   crypto/sha512
55   cycle-check
56   d-ino
57   d-type
58   di-set
59   diacrit
60   dirfd
61   dirname
62   do-release-commit-and-tag
63   dtoastr
64   dup2
65   environ
66   error
67   euidaccess
68   exclude
69   exitfail
70   faccessat
71   fadvise
72   fchdir
73   fclose
74   fcntl
75   fcntl-safer
76   fdl
77   fdutimensat
78   file-type
79   fileblocks
80   filemode
81   filenamecat
82   filevercmp
83   fnmatch-gnu
84   fopen-safer
85   fprintftime
86   freopen
87   freopen-safer
88   fseeko
89   fsusage
90   fsync
91   ftello
92   ftoastr
93   fts
94   full-read
95   full-write
96   getgroups
97   gethrxtime
98   getline
99   getloadavg
100   getndelim2
101   getopt-gnu
102   getpagesize
103   getpass-gnu
104   gettext-h
105   gettime
106   gettimeofday
107   getugroups
108   getusershell
109   git-version-gen
110   gitlog-to-changelog
111   gnu-make
112   gnu-web-doc-update
113   gnumakefile
114   gnupload
115   group-member
116   hard-locale
117   hash
118   hash-pjw
119   heap
120   host-os
121   human
122   idcache
123   ignore-value
124   inttostr
125   inttypes
126   isapipe
127   isblank
128   lchmod
129   lchown
130   ldtoastr
131   lib-ignore
132   linebuffer
133   link
134   link-follow
135   linkat
136   long-options
137   lstat
138   maintainer-makefile
139   malloc-gnu
140   manywarnings
141   mbrtowc
142   mbsalign
143   mbswidth
144   memcasecmp
145   memchr
146   memcmp2
147   mempcpy
148   memrchr
149   mgetgroups
150   mkancesdirs
151   mkdir
152   mkdir-p
153   mkstemp
154   mktime
155   modechange
156   mountlist
157   mpsort
158   netinet_in
159   nproc
160   obstack
161   parse-datetime
162   perl
163   physmem
164   posix-shell
165   posixtm
166   posixver
167   priv-set
168   progname
169   propername
170   pthread
171   putenv
172   quote
173   quotearg
174   randint
175   randperm
176   read-file
177   readlink
178   readtokens
179   readtokens0
180   readutmp
181   realloc-gnu
182   regex
183   remove
184   rename
185   rmdir
186   root-dev-ino
187   rpmatch
188   safe-read
189   same
190   save-cwd
191   savedir
192   savewd
193   selinux-at
194   settime
195   sig2str
196   sigaction
197   ssize_t
198   stat-macros
199   stat-size
200   stat-time
201   stdbool
202   stdlib-safer
203   stpcpy
204   stpncpy
205   strdup-posix
206   strftime
207   strsignal
208   strtod
209   strtoimax
210   strtoumax
211   symlink
212   sys_ioctl
213   sys_stat
214   sys_wait
215   termios
216   timer-time
217   timespec
218   tzset
219   uname
220   unicodeio
221   unistd-safer
222   unlink-busy
223   unlocked-io
224   unsetenv
225   update-copyright
226   uptime
227   useless-if-before-free
228   userspec
229   utimecmp
230   utimens
231   vasprintf-posix
232   vc-list-files
233   verify
234   verror
235   version-etc-fsf
236   wcwidth
237   wcswidth
238   winsz-ioctl
239   winsz-termios
240   write-any-file
241   xalloc
242   xfreopen
243   xgetcwd
244   xgetgroups
245   xgethostname
246   xmemcoll
247   xnanosleep
248   xprintf
249   xprintf-posix
250   xreadlink
251   xstrtod
252   xstrtoimax
253   xstrtol
254   xstrtold
255   xstrtoumax
256   yesno
259 # Other locale categories that need message catalogs.
260 EXTRA_LOCALE_CATEGORIES=LC_TIME
262 # Additional xgettext options to use.  Use "\\\newline" to break lines.
263 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
264  --flag=asnprintf:3:c-format\\\
265  --flag=asprintf:2:c-format\\\
266  --flag=error:3:c-format\\\
267  --flag=error_at_line:5:c-format\\\
268  --flag=vasnprintf:3:c-format\\\
269  --flag=vasprintf:2:c-format\\\
270  --flag=verror:3:c-format\\\
271  --flag=verror_at_line:5:c-format\\\
272  --flag=wrapf:1:c-format\\\
273  --flag=xasprintf:1:c-format\\\
274  --flag=xfprintf:2:c-format\\\
275  --flag=xprintf:1:c-format\\\
276  --from-code=UTF-8\\\
279 # Append these, since we use the propername module.
280 see_manual='"This is a proper name. See the gettext manual, section Names."'
281 see_manual=\'"$see_manual"\'
282 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
283  --keyword=proper_name:1,'"$see_manual"'\\\
284  --keyword=proper_name_utf8:1,'"$see_manual"'\\\
287 gnulib_tool_option_extras="--tests-base=$bt/gnulib-tests --with-tests"
289 # Build prerequisites
290 buildreq="\
291 autoconf   2.62
292 automake   1.11.1
293 autopoint  -
294 bison      -
295 gettext    0.17
296 git        1.4.4
297 gperf      -
298 gzip       -
299 makeinfo   4.13
300 patch      -
301 perl       5.5
302 rsync      -
303 tar        -
304 xz         -
307 # Automake requires that ChangeLog exist.
308 touch ChangeLog || exit 1
310 bootstrap_epilogue()
312   # Change paths in gnulib-tests/gnulib.mk from "../.." to "..".
313   m=gnulib-tests/gnulib.mk
314   sed 's,\.\./\.\.,..,g' $m > $m-t
315   mv -f $m-t $m
317   # Since this is a "GNU" package, replace this line
318   #   if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null \
319   #      | grep -v 'libtool:' >/dev/null; then
320   # with this:
321   #   if true; then
322   # Why?  That pipeline searches all files in $(top_srcdir), and if you
323   # happen to have large files (or apparently large sparse files), the
324   # first grep may well run out of memory.
325   perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \
326     po/Makefile.in.in