]> icculus.org git repositories - icculus/xz.git/blob - autogen.sh
Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.
[icculus/xz.git] / autogen.sh
1 #!/bin/sh
2
3 set -e -x
4
5 # autooint copies all kinds of crap even though we have told in
6 # configure.ac that we don't want the intl directory. It is able
7 # to omit the intl directory but still copies the m4 files needed
8 # only by the stuff in the non-existing intl directory.
9 autopoint -f
10 rm -f \
11         codeset.m4 \
12         glibc2.m4 \
13         glibc21.m4 \
14         intdiv0.m4 \
15         intl.m4 \
16         intldir.m4 \
17         intmax.m4 \
18         inttypes-pri.m4 \
19         inttypes_h.m4 \
20         lcmessage.m4 \
21         lock.m4 \
22         longdouble.m4 \
23         longlong.m4 \
24         printf-posix.m4 \
25         size_max.m4 \
26         stdint_h.m4 \
27         uintmax_t.m4 \
28         ulonglong.m4 \
29         visibility.m4 \
30         wchar_t.m4 \
31         wint_t.m4 \
32         xsize.m4
33
34 libtoolize -c -f || glibtoolize -c -f
35 aclocal -I m4
36 autoconf
37 autoheader
38 automake -acf --foreign