m4: Fix check for yajl.pc
[libvirt/ericb.git] / bootstrap.conf
blobb63acffcdb2def20ded9ca44a5037674e91ae4c7
1 # Bootstrap configuration.
3 # Copyright (C) 2010-2014 Red Hat, Inc.
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (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 Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library.  If not, see
17 # <http://www.gnu.org/licenses/>.
19 # gnulib modules used by this package.
20 gnulib_modules='
21 accept
22 areadlink
23 autobuild
24 base64
25 bind
26 bitrotate
27 byteswap
28 c-ctype
29 c-strcase
30 c-strcasestr
31 calloc-posix
32 canonicalize-lgpl
33 chown
34 clock-time
35 close
36 connect
37 configmake
38 count-leading-zeros
39 count-one-bits
40 dirname-lgpl
41 environ
42 execinfo
43 fclose
44 fcntl
45 fcntl-h
46 fdatasync
47 ffs
48 ffsl
49 fnmatch
50 fsync
51 func
52 getaddrinfo
53 getcwd-lgpl
54 gethostname
55 getopt-posix
56 getpass
57 getpeername
58 getsockname
59 gettimeofday
60 gitlog-to-changelog
61 gnumakefile
62 ignore-value
63 inet_pton
64 intprops
65 ioctl
66 isatty
67 largefile
68 ldexp
69 listen
70 localeconv
71 maintainer-makefile
72 manywarnings
73 mgetgroups
74 mkdtemp
75 mkostemp
76 mkostemps
77 mktempd
78 net_if
79 netdb
80 nonblocking
81 openpty
82 passfd
83 perror
84 physmem
85 pipe-posix
86 pipe2
87 poll
88 posix-shell
89 pthread
90 pthread_sigmask
91 recv
92 regex
93 sched
94 secure_getenv
95 send
96 setenv
97 setsockopt
98 sigaction
99 sigpipe
100 snprintf
101 socket
102 stat-time
103 stdarg
104 stpcpy
105 strchrnul
106 strdup-posix
107 strndup
108 strerror
109 strerror_r-posix
110 strptime
111 strsep
112 strtok_r
113 sys_stat
114 sys_wait
115 termios
116 time_r
117 timegm
118 ttyname_r
119 uname
120 unsetenv
121 useless-if-before-free
122 usleep
123 vasprintf
124 verify
125 vc-list-files
126 vsnprintf
127 waitpid
128 warnings
129 wcwidth
132 SKIP_PO=true
134 # Enable copy-mode for MSYS/MinGW. MSYS' ln doesn't work well in the way
135 # bootstrap uses it with relative paths.
136 if test -n "$MSYSTEM"; then
137     copy=true
141 # Tell gnulib to:
142 #   require LGPLv2+
143 #   apply any local diffs in gnulib/local/ dir
144 #   put *.m4 files in m4/ dir
145 #   put *.[ch] files in new gnulib/lib/ dir
146 #   import gnulib tests in new gnulib/tests/ dir
147 gnulib_name=libgnu
148 m4_base=m4
149 source_base=gnulib/lib
150 tests_base=gnulib/tests
151 gnulib_tool_option_extras="\
152  --lgpl=2\
153  --with-tests\
154  --makefile-name=gnulib.mk\
155  --avoid=pt_chown\
156  --avoid=lock-tests\
158 local_gl_dir=gnulib/local
160 # Build prerequisites
161 # Note that some of these programs are only required for 'make dist' to
162 # succeed from a fresh git checkout; not all of these programs are
163 # required to run 'make dist' on a tarball.
164 buildreq="\
165 autoconf   2.59
166 automake   1.9.6
167 git        1.5.5
168 gzip       -
169 libtool    -
170 patch      -
171 perl       5.5
172 pkg-config -
173 rpcgen     -
174 tar        -
175 xmllint    -
176 xsltproc   -
179 # Automake requires that AUTHORS exist.
180 touch AUTHORS || exit 1
182 # Override bootstrap's list - we don't use mdate-sh or texinfo.tex.
183 gnulib_extra_files="
184         build-aux/install-sh
185         build-aux/depcomp
186         build-aux/config.guess
187         build-aux/config.sub
188         doc/INSTALL
192 bootstrap_post_import_hook()
194   # Change paths in gnulib/tests/gnulib.mk from "../../.." to "../..",
195   # and make tests conditional by changing "TESTS" to "GNULIB_TESTS".
196   m=gnulib/tests/gnulib.mk
197   sed 's,\.\./\.\./\.\.,../..,g; s/^TESTS /GNULIB_TESTS /' $m > $m-t
198   mv -f $m-t $m