build: avoid build failure on non-glibc systems
[cppi/ericb.git] / bootstrap.conf
blob131f358654d430e9e42c3076b8753347de1ff322
1 # Bootstrap configuration.
3 # Copyright (C) 2006-2010 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/>.
18 avoided_gnulib_modules='
21 # gnulib modules used by this package.
22 gnulib_modules="
23   $avoided_gnulib_modules
24   alloca
25   announce-gen
26   autobuild
27   calloc
28   closeout
29   config-h
30   configmake
31   do-release-commit-and-tag
32   error
33   exitfail
34   getopt
35   git-version-gen
36   gitlog-to-changelog
37   gnu-web-doc-update
38   gnumakefile
39   gnupload
40   intprops
41   malloc
42   maintainer-makefile
43   manywarnings
44   obstack
45   progname
46   quote
47   quotearg
48   realloc
49   stat-macros
50   stdbool
51   stpcpy
52   timespec
53   unlocked-io
54   update-copyright
55   useless-if-before-free
56   verify
57   version-etc
58   version-etc-fsf
59   warnings
60   xalloc
61   xstrtol
64 # Other locale categories that need message catalogs.
65 EXTRA_LOCALE_CATEGORIES=
67 # Additional xgettext options to use.  Use "\\\newline" to break lines.
68 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
69  --from-code=UTF-8\\\
70  --flag=asprintf:2:c-format\\\
71  --flag=asnprintf:3:c-format\\\
72  --flag=error:3:c-format\\\
73  --flag=error_at_line:5:c-format\\\
74  --flag=vasprintf:2:c-format\\\
75  --flag=vasnprintf:3:c-format\\\
76  --flag=wrapf:1:c-format\\\
77  --flag=xasprintf:1:c-format\\\
78  --flag=xfprintf:2:c-format\\\
79  --flag=xprintf:1:c-format\\\
82 # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"
83 # appears in configure.ac, exclude some unnecessary files.
84 # Without grep's -E option (not portable enough, pre-configure),
85 # the following test is ugly.  Also, this depends on the existence
86 # of configure.ac, not the obsolescent-named configure.in.  But if
87 # you're using this infrastructure, you should care about such things.
89 gettext_external=0
90 grep '^[         ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
91   gettext_external=1
92 grep '^[         ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
93   gettext_external=1
95 if test $gettext_external = 1; then
96   # Gettext supplies these files, but we don't need them since
97   # we don't have an intl subdirectory.
98   excluded_files='
99       m4/glibc2.m4
100       m4/intdiv0.m4
101       m4/lcmessage.m4
102       m4/lock.m4
103       m4/uintmax_t.m4
104       m4/ulonglong.m4
105       m4/visibility.m4
106   '
109 # Build prerequisites
110 buildreq="\
111 autoconf   2.61
112 automake   1.11
113 autopoint  -
114 gettext    -
115 git        1.4.4
116 gperf      -
117 gzip       -
118 makeinfo   -
119 perl       5.5
120 rsync      -
121 tar        -
124 # Automake requires that ChangeLog exist.
125 touch ChangeLog