autogen.sh

Fri, 31 Aug 2001 20:36:11 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Fri, 31 Aug 2001 20:36:11 +0000
changeset 2205
68c42ce8eba6
parent 2177
c8b032900611
child 2275
137bb0c5d76e
permissions
-rwxr-xr-x

[gaim-migrate @ 2215]
eric@blue:~/gaim/app/src/protocols $ cat gtk
for i in icq irc jabber msn napster oscar toc yahoo zephyr
do
echo -n $i:
grep -i g\[td\]k $i/*.c | wc -l
done
eric@blue:~/gaim/app/src/protocols $ ./gtk
icq: 13
irc: 0
jabber: 59
msn: 0
napster: 106
oscar: 13
toc: 25
yahoo: 15
zephyr: 2

#!/bin/bash

(gettextize --version) < /dev/null > /dev/null 2>&1 || {
	echo;
	echo "You must have gettext installed to compile Gaim";
	echo;
	exit;
}

(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
	echo;
	echo "You must have libtool installed to compile Gaim";
	echo;
	exit;
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
	echo;
	echo "You must have automake installed to compile Gaim";
	echo;
	exit;
}

(autoconf --version) < /dev/null > /dev/null 2>&1 || {
	echo;
	echo "You must have autoconf installed to compile Gaim";
	echo;
	exit;
}

# Thanks decklin
if test ! -f configure.in ; then
	if autoconf --version | grep '2\.[01]' > /dev/null 2>&1 ; then
		ln -sf configure.ac configure.in
	fi
fi

echo "Generating configuration files for Gaim, please wait...."
echo;

echo "Running gettextize, please ignore non-fatal messages...."
echo n | gettextize --copy --force;
echo "Running libtoolize, please ignore non-fatal messages...."
echo n | libtoolize --copy --force;

aclocal -I m4 $ACLOCAL_FLAGS;
autoheader;
automake --add-missing --copy;
autoconf;
./configure $@

mercurial