view autogen.sh @ 4109:4efc492cf16f

[gaim-migrate @ 4324] (21:14:00) Robot101: although I just had a thought.... before you commit it, change this: (21:14:11) LSchiere: ugh (21:14:24) Robot101: trust me, it's far harder for me to re-diff it :P (21:14:30) LSchiere: not now it isn't (21:14:34) LSchiere: what line? (21:14:53) LSchiere: of the file not the patch (21:15:05) Robot101: buddy.c 2479 (21:15:22) LSchiere: kay (21:15:36) LSchiere: gint x, y, width, height; (21:15:47) Robot101: remove width and height, then remove the call to gtk_window_get_size, and change the 4 occurences of width and height to event.width and event.height (21:16:13) Robot101: size is not dependent on gravity, so we don't need to get it via gtk. (21:17:03) LSchiere: any other thoughts? (21:17:33) Robot101: yes. I'm an idiot. (21:17:42) LSchiere: you said it, not me. (21:17:53) deryni: I smell commit message committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 21 Dec 2002 02:19:42 +0000
parents 1496be1c345c
children 27354602734d
line wrap: on
line source

#!/bin/sh

SETUP_GETTEXT=./setup-gettext

($SETUP_GETTEXT --gettext-tool) < /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.ac ; then
	if autoconf --version | grep '2\.[01]' > /dev/null 2>&1 ; then
		mv configure.ac configure.2.1x;
		echo "configure.ac has been moved to configure.2.1x to retain compatibility with autoconf 2.1x"
		echo "Future versions of Gaim will not support autoconf versions older than 2.50"

	fi
fi

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

# Backup the po/ChangeLog. This should prevent the annoying
# gettext ChangeLog modifications.

cp -p po/ChangeLog po/ChangeLog.save

echo "Running gettextize, please ignore non-fatal messages...."
$SETUP_GETTEXT

# Restore the po/ChangeLog file.
mv po/ChangeLog.save po/ChangeLog

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

# Add other directories to this list if people continue to experience
# brokennesses ...  Obviously the real answer is for them to fix it
# themselves, but for Luke's sake we have this.
for dir in "/usr/local/share/aclocal" \
           "/opt/gnome-1.4/share/aclocal"
do
	if test -d $dir ; then
		ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $dir"
	fi
done

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