Fix OTS warning about `maxp.maxSizeOfInstructions`.
[ttfautohint.git] / bootstrap.conf
blobee2197340a26e1c71ebb97be7d854b2cba6a47c7
1 # Bootstrap configuration.
3 # Copyright (C) 2006-2022 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 <https://www.gnu.org/licenses/>.
19 # gnulib structure in ttfautohint bundle
20 m4_base=gnulib/m4
21 source_base=gnulib/src
22 build_aux=gnulib
23 gnulib_name=libgnu
25 checkout_only_file=INSTALL.git
28 # gnulib modules used by this package.
29 gnulib_modules="
30   dirname-lgpl
31   fcntl-h
32   getopt-gnu
33   git-version-gen
34   isatty
35   memmem-simple
36   stdarg
37   stdbool
38   stdint
39   std-gnu11
40   strerror_r-posix
41   strndup
42   strtok_r
43   strtoull
44   vasprintf
47 # We have a non-recursive automake setup; tell `gnulib-tool' to not create
48 # `Makefile.am' but `gnulib.mk' that we can include.
49 gnulib_tool_option_extras="
50   --lgpl
51   --makefile-name=gnulib.mk
52   --automake-subdir
56 # Additional xgettext options to use.  Use "\\\newline" to break lines.
57 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
58  --from-code=UTF-8\\\
59  --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\
60  --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\
61  --flag=wrapf:1:c-format\\\
64 # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"
65 # appears in configure.ac, exclude some unnecessary files.
66 # Without grep's -E option (not portable enough, pre-configure),
67 # the following test is ugly.  Also, this depends on the existence
68 # of configure.ac, not the obsolescent-named configure.in.  But if
69 # you're using this infrastructure, you should care about such things.
71 gettext_external=0
72 grep '^[         ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
73   gettext_external=1
74 grep '^[         ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
75   gettext_external=1
77 if test $gettext_external = 1; then
78   # Gettext supplies these files, but we don't need them since
79   # we don't have an intl subdirectory.
80   excluded_files='
81       m4/glibc2.m4
82       m4/intdiv0.m4
83       m4/lcmessage.m4
84       m4/lock.m4
85       m4/printf-posix.m4
86       m4/size_max.m4
87       m4/uintmax_t.m4
88       m4/ulonglong.m4
89       m4/visibility.m4
90       m4/xsize.m4
91   '
94 # Build prerequisites
95 buildreq="\
96 autoconf   2.65
97 automake   1.13
98 bison      2.5
99 flex       -
100 git        1.5.5
101 libtool    2.2.2
102 tar        -