[gaim-migrate @ 18103]

Thu, 11 Jan 2007 05:30:24 +0000

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 11 Jan 2007 05:30:24 +0000
changeset 15374
fdd2f9738096
parent 15373
8483019d6961
child 15375
42b08c34496b

[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...

autogen.sh file | annotate | diff | comparison | revisions
--- 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} $@
+

mercurial