changeset 15313:c273952a004d

[gaim-migrate @ 18103] I grew tired of constantly typing the same arguments to autogen.sh. Now you can create a file named configure.args with your default arguments to be used whenever autogen'n. Note: make sure there are *NO* newlines in the file or it's going to mess things up pretty bad... committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Thu, 11 Jan 2007 05:30:24 +0000
parents 4e004a29ccf3
children 508e64b12d98
files autogen.sh
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autogen.sh	Thu Jan 11 04:13:53 2007 +0000
+++ b/autogen.sh	Thu Jan 11 05:30:24 2007 +0000
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+CONFIGURE_ARGS=""
+if [ -f configure.args ] ; then
+	CONFIGURE_ARGS="${CONFIGURE_ARGS} `cat configure.args`"
+fi
+
 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
 	echo;
 	echo "You must have glib-gettextize installed to compile Gaim.";
@@ -60,5 +65,9 @@
 automake --add-missing --copy;
 autoconf || exit;
 automake || exit;
-./configure $@
 
+echo;
+echo "Running ./configure ${CONFIGURE_ARGS} $@"
+echo;
+./configure ${CONFIGURE_ARGS} $@
+