Repository navigation
Expand file tree
/
Copy pathbootstrap.conf
More file actions
122 lines (110 loc) · 2.3 KB
/
Copy pathbootstrap.conf
File metadata and controls
122 lines (110 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# Bootstrap configuration.
# Copyright (C) 2006-2007, 2009-2026 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# gnulib modules used by this package.
gnulib_modules="
alignasof
announce-gen
assert-h
c-ctype
calloc-gnu
close
crc-x86_64
dirname-lgpl
fclose
fcntl
fcntl-h
fdatasync
filename
fsync
getopt-gnu
git-version-gen
gitlog-to-changelog
gnu-make
gnu-web-doc-update
gnumakefile
gnupload
ignore-value
intprops
inttypes-h
largefile
lib-ignore
limits-h
lstat
maintainer-makefile
malloc-gnu
manywarnings
quotearg
readme-release
realloc-posix
savedir
sigaction
sigprocmask
stat-time
stdcountof-h
stdopen
strerror
sys_stat-h
time
unistd-h
unlocked-io
update-copyright
utimens
xalloc
year2038
yesno
"
# Additional gnulib-tool options to use. Use "\newline" to break lines.
# We don't need the getline and rpmatch, since yesno doesn't do i18n.
gnulib_tool_option_extras="\
--avoid c32isprint\
--avoid getline\
--avoid gnulib-i18n\
--avoid mbrtoc32\
--avoid mbsinit\
--avoid mbszero\
--avoid threadlib\
--avoid rpmatch\
--avoid windows-once\
--avoid windows-spin\
--avoid windows-tls\
--avoid uchar-h\
--avoid wchar-h\
--symlink\
--makefile-name=gnulib.mk\
"
# Build prerequisites
buildreq="\
autoconf 2.61
automake 1.11
autopoint 0.19.2
gettext -
git 1.4.4
makeinfo -
perl 5.5
tar -
texi2pdf 6.1
xz -
"
bootstrap_epilogue()
{
perl -pi -e "s/\@PACKAGE\@/$package/g" README-release
}
# Automake requires that ChangeLog exist.
bootstrap_post_import_hook() {
touch ChangeLog || exit
# Copy tests/init.sh from Gnulib.
$gnulib_tool --copy-file tests/init.sh
# configure.ac defines dummies for gt_LOCALE_EN_UTF8, gt_TYPE_WINT_T.
rm m4/locale-en.m4
rm m4/wint_t.m4
}