# HG changeset patch # User Gary Kramlich # Date 1168493424 0 # Node ID fdd2f9738096d54ed5dc9f310d917ad275bb57a6 # Parent 8483019d69614166d3b029baf2d771dd1b788edd [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... diff -r 8483019d6961 -r fdd2f9738096 autogen.sh --- 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} $@ +