TEMP disable %check
[libvirt/apevec.git] / bootstrap.conf
blob8f25554a3a2e962f043812a67e376601a58c9a77
1 # Bootstrap configuration.
3 # Copyright (C) 2010 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 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, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
20 # gnulib modules used by this package.
21 gnulib_modules='
22 areadlink
23 base64
24 c-ctype
25 canonicalize-lgpl
26 close
27 connect
28 count-one-bits
29 crypto/md5
30 dirname-lgpl
31 fcntl-h
32 func
33 getaddrinfo
34 gethostname
35 getpass
36 gettext-h
37 gettimeofday
38 gitlog-to-changelog
39 gnumakefile
40 ignore-value
41 inet_pton
42 ioctl
43 maintainer-makefile
44 mkstemp
45 mktempd
46 netdb
47 perror
48 physmem
49 poll
50 posix-shell
51 pthread
52 recv
53 random_r
54 sched
55 send
56 setsockopt
57 snprintf
58 socket
59 stpcpy
60 strchrnul
61 strndup
62 strerror
63 strptime
64 strsep
65 strtok_r
66 sys_stat
67 sys_wait
68 termios
69 time_r
70 timegm
71 uname
72 useless-if-before-free
73 usleep
74 vasprintf
75 verify
76 vc-list-files
79 # Additional xgettext options to use.  Use "\\\newline" to break lines.
80 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
81  --flag=virAsprintf:2:c-format\\\
82  --from-code=UTF-8\\\
85 # This is not a GNU package, so the default bug address is invalid,
86 # and the translation project is not in use.
87 MSGID_BUGS_ADDRESS=libvir-list@redhat.com
88 COPYRIGHT_HOLDER='Red Hat, Inc.'
89 SKIP_PO=true
91 # Enable copy-mode for MSYS/MinGW. MSYS' ln doesn't work well in the way
92 # bootstrap uses it with relative paths.
93 if test -n "$MSYSTEM"; then
94     copy=true
97 # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"
98 # appears in configure.ac, exclude some unnecessary files.
99 # Without grep's -E option (not portable enough, pre-configure),
100 # the following test is ugly.  Also, this depends on the existence
101 # of configure.ac, not the obsolescent-named configure.in.  But if
102 # you're using this infrastructure, you should care about such things.
104 gettext_external=0
105 grep '^[         ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
106   gettext_external=1
107 grep '^[         ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
108   gettext_external=1
110 if test $gettext_external = 1; then
111   # Gettext supplies these files, but we don't need them since
112   # we don't have an intl subdirectory.
113   excluded_files='
114       m4/glibc2.m4
115       m4/intdiv0.m4
116       m4/lcmessage.m4
117       m4/uintmax_t.m4
118       m4/ulonglong.m4
119       m4/visibility.m4
120   '
123 # Tell gnulib to:
124 #   require LGPLv2+
125 #   put *.m4 files in new gnulib/m4/ dir
126 #   put *.[ch] files in new gnulib/lib/ dir.
127 #   import gnulib tests in new gnulib/tests/ dir.
128 gnulib_name=libgnu
129 m4_base=gnulib/m4
130 source_base=gnulib/lib
131 tests_base=gnulib/tests
132 gnulib_mk=Makefile.am
133 gnulib_tool_option_extras="\
134  --lgpl=2\
135  --with-tests\
138 # Convince bootstrap to use multiple m4 directories.
139 : ${ACLOCAL=aclocal}
140 ACLOCAL="$ACLOCAL -I gnulib/m4"
141 export ACLOCAL
143 # Build prerequisites
144 buildreq="\
145 autoconf   2.59
146 automake   1.9.6
147 autopoint  -
148 gettext    -
149 git        1.5.5
150 gzip       -
151 libtool    -
152 perl       5.5
153 pkg-config -
154 tar        -
157 # Automake requires that ChangeLog exist.
158 touch ChangeLog || exit 1
161 bootstrap_epilogue()
163   # Change paths in gnulib/tests/Makefile.am from "../../.." to "../..".
164   m=gnulib/tests/Makefile.am
165   sed 's,\.\./\.\./\.\.,../..,g' $m > $m-t
166   mv -f $m-t $m