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