Minor changelog updates
[pidgin-git.git] / autogen.sh
bloba29b0a4436ad3a5ee4dbfbc36dd000b872da4f95
1 #!/bin/sh
3 CONFIGURE_ARGS=""
4 if [ -f configure.args ] ; then
5 . configure.args
6 fi
8 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
9 echo;
10 echo "You must have glib-gettextize installed to compile Pidgin.";
11 echo;
12 exit;
15 (intltoolize --version) < /dev/null > /dev/null 2>&1 || {
16 echo;
17 echo "You must have intltool installed to compile Pidgin.";
18 echo;
19 exit;
22 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
23 echo;
24 echo "You must have libtool installed to compile Pidgin.";
25 echo;
26 exit;
29 (automake --version) < /dev/null > /dev/null 2>&1 || {
30 echo;
31 echo "You must have automake installed to compile Pidgin.";
32 echo;
33 exit;
36 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
37 echo;
38 echo "You must have autoconf installed to compile Pidgin.";
39 echo;
40 exit;
43 echo "Generating configuration files for Pidgin, please wait...."
44 echo;
46 echo "Running libtoolize, please ignore non-fatal messages...."
47 echo n | libtoolize --copy --force || exit;
49 # Add other directories to this list if people continue to experience
50 # brokennesses ... Obviously the real answer is for them to fix it
51 # themselves, but for Luke's sake we have this.
52 for dir in "/usr/local/share/aclocal" \
53 "/opt/gnome-1.4/share/aclocal"
55 if test -d $dir ; then
56 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
58 done
60 libtoolize -c -f --automake
61 glib-gettextize --force --copy
62 intltoolize --force --copy
63 aclocal $ACLOCAL_FLAGS || exit;
64 autoheader || exit;
65 automake --add-missing --copy;
66 autoconf || exit;
67 automake || exit;
69 echo;
70 echo "Running ./configure ${CONFIGURE_ARGS} $@"
71 echo;
72 ./configure ${CONFIGURE_ARGS} $@