forked from lanoxx/tilda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autogen.sh
executable file
·47 lines (40 loc) · 1.22 KB
/
autogen.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
#!/bin/sh
# This was borrowed from Gaim (see gaim.sf.net) and modified
# for our purposes. Thanks guys!
echo "This will do all the autotools stuff so that you can build"
echo "tilda successfully. It will also call the ./configure script"
echo "and pass on any options which you passed to this script"
echo "See ./configure --help to know which options are available"
echo
echo "When it is finished, take the usual steps to install:"
echo "make"
echo "make install"
echo
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile tilda";
echo;
exit;
}
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have autoconf installed to compile tilda";
echo;
exit;
}
echo "Generating configuration files for tilda, please wait..."
echo;
# Autoconf will call run autopoint, aclocal, autoconf, autoheader and automake
# to setup and configure the build environment
autoreconf --verbose --install --symlink --force || {
echo;
echo "autoreconf has encountered an error."
echo;
exit $?
}
# Afterwards we invoke the configure skript, "$@" will contain the arguments that
# were passed to this skript.
echo
echo "Running configure now"
echo
./configure "$@"