Mercurial > pidgin.yaz
comparison autogen.sh @ 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 | b4a5b77e167e |
children | 593534b724b0 |
comparison
equal
deleted
inserted
replaced
15312:4e004a29ccf3 | 15313:c273952a004d |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | |
3 CONFIGURE_ARGS="" | |
4 if [ -f configure.args ] ; then | |
5 CONFIGURE_ARGS="${CONFIGURE_ARGS} `cat configure.args`" | |
6 fi | |
2 | 7 |
3 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { | 8 (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { |
4 echo; | 9 echo; |
5 echo "You must have glib-gettextize installed to compile Gaim."; | 10 echo "You must have glib-gettextize installed to compile Gaim."; |
6 echo; | 11 echo; |
58 aclocal $ACLOCAL_FLAGS || exit; | 63 aclocal $ACLOCAL_FLAGS || exit; |
59 autoheader || exit; | 64 autoheader || exit; |
60 automake --add-missing --copy; | 65 automake --add-missing --copy; |
61 autoconf || exit; | 66 autoconf || exit; |
62 automake || exit; | 67 automake || exit; |
63 ./configure $@ | |
64 | 68 |
69 echo; | |
70 echo "Running ./configure ${CONFIGURE_ARGS} $@" | |
71 echo; | |
72 ./configure ${CONFIGURE_ARGS} $@ | |
73 |