Sun, 30 Mar 2008 23:10:12 +0000
Thanks for pointing this out, grim.
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
1 | #! /bin/sh |
|
22728
edf01969652e
Thanks for pointing this out, grim.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22725
diff
changeset
|
2 | # Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
3 | # Copyright (C) 2003-2008 Gary Kramlich <grim@reaperworld.com> |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
4 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
5 | # This program is free software; you can redistribute it and/or modify it |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
6 | # under the terms of the GNU General Public License as published by the Free |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
7 | # Software Foundation; either version 2 of the License, or (at your option) |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
8 | # any later version. |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
9 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
10 | # This program is distributed in the hope that it will be useful, but WITHOUT |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
13 | # more details. |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
14 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
15 | # You should have received a copy of the GNU General Public License along with |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
16 | # this program; if not, write to the Free Software Foundation, Inc., 51 |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
17 | # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
14290
f20819ff8d86
[gaim-migrate @ 16910]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
13294
diff
changeset
|
18 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
19 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
20 | # Usage |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
21 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
22 | # This script uses a config file that can be used to stash common arguments |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
23 | # passed to configure or environment variables that need to be set before |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
24 | # configure is called. The configuration file is a simple shell script that |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
25 | # gets sourced. |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
26 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
27 | # By default, the config file that is used is named 'autogen.args'. This can |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
28 | # be configured below. |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
29 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
30 | # Available options that are handled are as follow: |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
31 | # ACLOCAL_FLAGS - command line arguments to pass to aclocal |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
32 | # AUTOCONF_FLAGS - command line arguments to pass to autoconf |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
33 | # AUTOHEADER_FLAGS - command line arguments to pass to autoheader |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
34 | # AUTOMAKE_FLAGS - command line arguments to pass to automake flags |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
35 | # CONFIGURE_FLAGS - command line arguments to pass to configure |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
36 | # INTLTOOLIZE_FLAGS - command line arguments to pass to intltoolize |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
37 | # LIBTOOLIZE_FLAGS - command line arguments to pass to libtoolize |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
38 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
39 | # Other helpfull notes: |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
40 | # If you're using a different c compiler, you can override the environment |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
41 | # variable in 'autogen.args'. For example, say you're using distcc, just add |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
42 | # the following to 'autogen.args': |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
43 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
44 | # CC="distcc" |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
45 | # |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
46 | # This will work for any influential environment variable to configure. |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
47 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
48 | PACKAGE="Pidgin" |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
49 | ARGS_FILE="autogen.args" |
| 1863 | 50 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
51 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
52 | # Some helper functions |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
53 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
54 | check () { |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
55 | CMD=$1 |
| 1863 | 56 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
57 | echo -n "checking for ${CMD}... " |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
58 | BIN=`which ${CMD}` |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
59 | |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
60 | if [ x"${BIN}" = x"" ] ; then |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
61 | echo "not found." |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
62 | echo "${CMD} is required to build ${PACKAGE}!" |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
63 | exit 1; |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
64 | fi |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
65 | |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
66 | echo "${BIN}" |
| 1863 | 67 | } |
| 68 | ||
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
69 | run_or_die () { # beotch |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
70 | CMD=$1 |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
71 | shift |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
72 | |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
73 | echo -n "running ${CMD} ${@}... " |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
74 | OUTPUT=`${CMD} ${@} 2>&1` |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
75 | if [ $? != 0 ] ; then |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
76 | echo "failed." |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
77 | echo ${OUTPUT} |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
78 | exit 1 |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
79 | else |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
80 | echo "done." |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
81 | if [ x"${OUTPUT}" != x"" ] ; then |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
82 | echo ${OUTPUT} |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
83 | fi |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
84 | fi |
| 1863 | 85 | } |
| 86 | ||
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
87 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
88 | # We really start here, yes, very sneaky! |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
89 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
90 | FIGLET=`which figlet` |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
91 | if [ x"${FIGLET}" != x"" ] ; then |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
92 | ${FIGLET} -f small ${PACKAGE} |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
93 | echo "build system is being generated" |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
94 | else |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
95 | echo "autogenerating build system for '${PACKAGE}'" |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
96 | fi |
| 1863 | 97 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
98 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
99 | # Look for our args file |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
100 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
101 | echo -n "checking for ${ARGS_FILE}: " |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
102 | if [ -f ${ARGS_FILE} ] ; then |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
103 | echo "found." |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
104 | echo -n "sourcing ${ARGS_FILE}: " |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
105 | . autogen.args |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
106 | echo "done." |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
107 | else |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
108 | echo "not found." |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
109 | fi |
|
2162
2a9f076b0af9
[gaim-migrate @ 2172]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2157
diff
changeset
|
110 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
111 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
112 | # Check for our required helpers |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
113 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
114 | check "libtoolize"; LIBTOOLIZE=${BIN}; |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
115 | check "intltoolize"; INTLTOOLIZE=${BIN}; |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
116 | check "aclocal"; ACLOCAL=${BIN}; |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
117 | check "autoheader"; AUTOHEADER=${BIN}; |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
118 | check "automake"; AUTOMAKE=${BIN}; |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
119 | check "autoconf"; AUTOCONF=${BIN}; |
| 3505 | 120 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
121 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
122 | # Run all of our helpers |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
123 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
124 | run_or_die ${LIBTOOLIZE} -c -f --automake ${LIBTOOLIZE_FLAGS} |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
125 | run_or_die ${INTLTOOLIZE} -c -f --automake ${INTLTOOLIZE_FLAGS} |
|
22725
95165979f427
I always forget we use 'm4macros' here instead of 'm4'.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22724
diff
changeset
|
126 | run_or_die ${ACLOCAL} -I m4macros ${ACLOCAL_FLAGS} |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
127 | run_or_die ${AUTOHEADER} ${AUTOHEADER_FLAGS} |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
128 | run_or_die ${AUTOMAKE} -a -c -f --gnu ${AUTOMAKE_FLAGS} |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
129 | run_or_die ${AUTOCONF} -f ${AUTOCONF_FLAGS} |
| 1863 | 130 | |
|
22724
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
131 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
132 | # Run configure |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
133 | ############################################################################### |
|
f76ff81ee882
A more verbose autogen.sh that Gary and I have been using for Guifications
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
22331
diff
changeset
|
134 | echo "running ./configure ${CONFIGURE_ARGS} $@" |
|
15374
fdd2f9738096
[gaim-migrate @ 18103]
Gary Kramlich <grim@reaperworld.com>
parents:
14503
diff
changeset
|
135 | ./configure ${CONFIGURE_ARGS} $@ |