forked from uim/uim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make-wc.sh
executable file
·49 lines (43 loc) · 1.28 KB
/
make-wc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh
# make-wc.sh: Check out working copy of uim trunk and prepare to build. Do
# not use this script to make a release. Use make-dist.sh for it.
#
# Usage:
#
# $ git clone https://github.com/uim/uim.git
# $ cd uim
# $ ./make-wc.sh
# $ make
#
# You can add arbitrary configure options to make-wc.sh as follows:
#
# $ ./make-wc.sh --enable-debug --enable-backtrace
#
# Prerequisites to build uim trunk:
#
# - autoconf 2.60b or later (2.61 is recommended)
# - automake 1.10 or later
# - libtool (1.5.22 is working)
# - intltool 0.35.2 (later versions may need autogen.sh modification)
# - GNU make
# - perl
# - ruby
# - rsvg-convert(1) distributed with librsvg
# - AsciiDoc
#
# And to run tests:
#
# - GNU sed (for 'make check' on SigScheme)
# - Gauche 0.8.5 or later
# - GaUnit 0.1.1 or later (see doc/UNIT-TEST)
LANG=C
MAKE=make
# --enable-maintainer-mode is required to build git HEAD
CONF_COMMON="--enable-maintainer-mode --disable-warnings-into-error"
git submodule update --init --recursive
(cd sigscheme/libgcroots && git checkout master && ./autogen.sh) \
&& (cd sigscheme && git checkout master && ./autogen.sh) \
&& ./autogen.sh \
|| { echo 'autogen failed.' && exit 1; }
echo "configure $CONF_COMMON $@"
./configure $CONF_COMMON $@