doc: mention the restrictions for stdbuf more prominently
[coreutils/ericb.git] / bootstrap.conf
blob08bfc21864f09128d5dac46d2e78af7748950422
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   fcntl
74   fcntl-safer
75   fdl
76   fdutimensat
77   file-type
78   fileblocks
79   filemode
80   filenamecat
81   filevercmp
82   fnmatch-gnu
83   fopen-safer
84   fprintftime
85   freopen
86   freopen-safer
87   fseeko
88   fsusage
89   fsync
90   ftello
91   ftoastr
92   fts
93   full-read
94   full-write
95   getgroups
96   gethrxtime
97   getline
98   getloadavg
99   getndelim2
100   getopt-gnu
101   getpagesize
102   getpass-gnu
103   gettext-h
104   gettime
105   gettimeofday
106   getugroups
107   getusershell
108   git-version-gen
109   gitlog-to-changelog
110   gnu-make
111   gnu-web-doc-update
112   gnumakefile
113   gnupload
114   group-member
115   hard-locale
116   hash
117   hash-pjw
118   heap
119   host-os
120   human
121   idcache
122   ignore-value
123   inttostr
124   inttypes
125   isapipe
126   isblank
127   lchmod
128   lchown
129   ldtoastr
130   lib-ignore
131   linebuffer
132   link
133   link-follow
134   linkat
135   long-options
136   lstat
137   maintainer-makefile
138   malloc-gnu
139   manywarnings
140   mbrtowc
141   mbsalign
142   mbswidth
143   memcasecmp
144   memchr
145   memcmp2
146   mempcpy
147   memrchr
148   mgetgroups
149   mkancesdirs
150   mkdir
151   mkdir-p
152   mkstemp
153   mktime
154   modechange
155   mountlist
156   mpsort
157   netinet_in
158   nproc
159   obstack
160   parse-datetime
161   perl
162   physmem
163   posix-shell
164   posixtm
165   posixver
166   priv-set
167   progname
168   propername
169   pthread
170   putenv
171   quote
172   quotearg
173   randint
174   randperm
175   read-file
176   readlink
177   readtokens
178   readtokens0
179   readutmp
180   realloc-gnu
181   regex
182   remove
183   rename
184   rmdir
185   root-dev-ino
186   rpmatch
187   safe-read
188   same
189   save-cwd
190   savedir
191   savewd
192   selinux-at
193   settime
194   sig2str
195   sigaction
196   ssize_t
197   stat-macros
198   stat-size
199   stat-time
200   stdbool
201   stdlib-safer
202   stpcpy
203   stpncpy
204   strdup-posix
205   strftime
206   strsignal
207   strtod
208   strtoimax
209   strtoumax
210   symlink
211   sys_ioctl
212   sys_stat
213   sys_wait
214   termios
215   timespec
216   tzset
217   uname
218   unicodeio
219   unistd-safer
220   unlink-busy
221   unlocked-io
222   unsetenv
223   update-copyright
224   uptime
225   useless-if-before-free
226   userspec
227   utimecmp
228   utimens
229   vasprintf-posix
230   vc-list-files
231   verify
232   verror
233   version-etc-fsf
234   wcwidth
235   wcswidth
236   winsz-ioctl
237   winsz-termios
238   write-any-file
239   xalloc
240   xfreopen
241   xgetcwd
242   xgetgroups
243   xgethostname
244   xmemcoll
245   xnanosleep
246   xprintf
247   xprintf-posix
248   xreadlink
249   xstrtod
250   xstrtoimax
251   xstrtol
252   xstrtold
253   xstrtoumax
254   yesno
257 # Other locale categories that need message catalogs.
258 EXTRA_LOCALE_CATEGORIES=LC_TIME
260 # Additional xgettext options to use.  Use "\\\newline" to break lines.
261 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
262  --flag=asnprintf:3:c-format\\\
263  --flag=asprintf:2:c-format\\\
264  --flag=error:3:c-format\\\
265  --flag=error_at_line:5:c-format\\\
266  --flag=vasnprintf:3:c-format\\\
267  --flag=vasprintf:2:c-format\\\
268  --flag=verror:3:c-format\\\
269  --flag=verror_at_line:5:c-format\\\
270  --flag=wrapf:1:c-format\\\
271  --flag=xasprintf:1:c-format\\\
272  --flag=xfprintf:2:c-format\\\
273  --flag=xprintf:1:c-format\\\
274  --from-code=UTF-8\\\
277 # Append these, since we use the propername module.
278 see_manual='"This is a proper name. See the gettext manual, section Names."'
279 see_manual=\'"$see_manual"\'
280 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
281  --keyword=proper_name:1,'"$see_manual"'\\\
282  --keyword=proper_name_utf8:1,'"$see_manual"'\\\
285 gnulib_tool_option_extras="--tests-base=$bt/gnulib-tests --with-tests"
287 # Build prerequisites
288 buildreq="\
289 autoconf   2.62
290 automake   1.11.1
291 autopoint  -
292 bison      -
293 gettext    0.17
294 git        1.4.4
295 gperf      -
296 gzip       -
297 makeinfo   -
298 patch      -
299 perl       5.5
300 rsync      -
301 tar        -
302 xz         -
305 # Automake requires that ChangeLog exist.
306 touch ChangeLog || exit 1
308 bootstrap_epilogue()
310   # Change paths in gnulib-tests/gnulib.mk from "../.." to "..".
311   m=gnulib-tests/gnulib.mk
312   sed 's,\.\./\.\.,..,g' $m > $m-t
313   mv -f $m-t $m
315   # Since this is a "GNU" package, replace this line
316   #   if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null \
317   #      | grep -v 'libtool:' >/dev/null; then
318   # with this:
319   #   if true; then
320   # Why?  That pipeline searches all files in $(top_srcdir), and if you
321   # happen to have large files (or apparently large sparse files), the
322   # first grep may well run out of memory.
323   perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \
324     po/Makefile.in.in