maint: tac: remove sole use of sprintf in favor of filenamecat
[coreutils.git] / bootstrap.conf
blob820cb54d1e170bfdd58ecafec630a38a93d1a069
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
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   largefile
129   lchmod
130   lchown
131   ldtoastr
132   lib-ignore
133   linebuffer
134   link
135   link-follow
136   linkat
137   long-options
138   lstat
139   maintainer-makefile
140   malloc-gnu
141   manywarnings
142   mbrlen
143   mbrtowc
144   mbsalign
145   mbswidth
146   memcasecmp
147   memchr
148   memcmp2
149   mempcpy
150   memrchr
151   mgetgroups
152   mkancesdirs
153   mkdir
154   mkdir-p
155   mkstemp
156   mktime
157   modechange
158   mountlist
159   mpsort
160   netinet_in
161   nproc
162   obstack
163   parse-datetime
164   perl
165   physmem
166   posix-shell
167   posixtm
168   posixver
169   priv-set
170   progname
171   propername
172   pthread
173   putenv
174   quote
175   quotearg
176   randint
177   randperm
178   read-file
179   readlink
180   readtokens
181   readtokens0
182   readutmp
183   realloc-gnu
184   regex
185   remove
186   rename
187   rmdir
188   root-dev-ino
189   rpmatch
190   safe-read
191   same
192   save-cwd
193   savedir
194   savewd
195   selinux-at
196   settime
197   sig2str
198   sigaction
199   ssize_t
200   stat-macros
201   stat-size
202   stat-time
203   stdbool
204   stdlib-safer
205   stpcpy
206   stpncpy
207   strdup-posix
208   strftime
209   strsignal
210   strtod
211   strtoimax
212   strtoumax
213   symlink
214   sys_ioctl
215   sys_stat
216   sys_wait
217   termios
218   timer-time
219   timespec
220   tzset
221   uname
222   unicodeio
223   unistd-safer
224   unlink-busy
225   unlocked-io
226   unsetenv
227   update-copyright
228   uptime
229   useless-if-before-free
230   userspec
231   utimecmp
232   utimens
233   vasprintf-posix
234   vc-list-files
235   verify
236   verror
237   version-etc-fsf
238   wcwidth
239   wcswidth
240   winsz-ioctl
241   winsz-termios
242   write-any-file
243   xalloc
244   xfreopen
245   xgetcwd
246   xgetgroups
247   xgethostname
248   xmemcoll
249   xnanosleep
250   xprintf
251   xprintf-posix
252   xreadlink
253   xstrtod
254   xstrtoimax
255   xstrtol
256   xstrtold
257   xstrtoumax
258   yesno
261 # Other locale categories that need message catalogs.
262 EXTRA_LOCALE_CATEGORIES=LC_TIME
264 # Additional xgettext options to use.  Use "\\\newline" to break lines.
265 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
266  --flag=asnprintf:3:c-format\\\
267  --flag=asprintf:2:c-format\\\
268  --flag=error:3:c-format\\\
269  --flag=error_at_line:5:c-format\\\
270  --flag=vasnprintf:3:c-format\\\
271  --flag=vasprintf:2:c-format\\\
272  --flag=verror:3:c-format\\\
273  --flag=verror_at_line:5:c-format\\\
274  --flag=wrapf:1:c-format\\\
275  --flag=xasprintf:1:c-format\\\
276  --flag=xfprintf:2:c-format\\\
277  --flag=xprintf:1:c-format\\\
278  --from-code=UTF-8\\\
281 # Append these, since we use the propername module.
282 see_manual='"This is a proper name. See the gettext manual, section Names."'
283 see_manual=\'"$see_manual"\'
284 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
285  --keyword=proper_name:1,'"$see_manual"'\\\
286  --keyword=proper_name_utf8:1,'"$see_manual"'\\\
289 gnulib_tool_option_extras="--tests-base=$bt/gnulib-tests --with-tests"
291 # Build prerequisites
292 buildreq="\
293 autoconf   2.62
294 automake   1.11.1
295 autopoint  -
296 bison      -
297 gettext    0.17
298 git        1.4.4
299 gperf      -
300 gzip       -
301 makeinfo   4.13
302 patch      -
303 perl       5.5
304 rsync      -
305 tar        -
306 xz         -
309 # Automake requires that ChangeLog exist.
310 touch ChangeLog || exit 1
312 bootstrap_epilogue()
314   # Change paths in gnulib-tests/gnulib.mk from "../.." to "..".
315   m=gnulib-tests/gnulib.mk
316   sed 's,\.\./\.\.,..,g' $m > $m-t
317   mv -f $m-t $m
319   # Since this is a "GNU" package, replace this line
320   #   if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null \
321   #      | grep -v 'libtool:' >/dev/null; then
322   # with this:
323   #   if true; then
324   # Why?  That pipeline searches all files in $(top_srcdir), and if you
325   # happen to have large files (or apparently large sparse files), the
326   # first grep may well run out of memory.
327   perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \
328     po/Makefile.in.in