Wed, 07 Aug 2002 23:25:33 +0000
[gaim-migrate @ 3401]
No longer do we build libicq.so -- run make in src/protocols/icq if you
feel you need it for some reason (you don't--use OSCAR)
TOC is no longer compiled statically by default. If you need it for some
reason, you can load the libtoc.so plugin.
Ari Pollak fixed up some #ifdefs to get IM images to work in gtk2, and he
fixed a few gtk font warnings elsewhere.
| 2129 | 1 | dnl Process this file with autoconf to produce a configure script. |
| 2 | AC_INIT(src/aim.c) | |
| 3 | AM_CONFIG_HEADER(config.h) | |
|
3351
556a16131861
[gaim-migrate @ 3370]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3282
diff
changeset
|
4 | AM_INIT_AUTOMAKE([gaim], [0.60cvs]) |
| 3174 | 5 | |
| 6 | AC_PREREQ([2.50]) | |
| 2129 | 7 | |
| 8 | AC_PATH_PROG(sedpath, sed) | |
| 9 | ||
| 10 | dnl Checks for programs. | |
| 11 | AC_PROG_CC | |
| 12 | AC_DISABLE_STATIC | |
| 13 | AM_PROG_LIBTOOL | |
| 14 | LIBTOOL="$LIBTOOL --silent" | |
| 15 | AC_PROG_INSTALL | |
| 16 | ||
| 17 | ||
|
3266
986dbc812cb2
[gaim-migrate @ 3284]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3265
diff
changeset
|
18 | ALL_LINGUAS="bg cs da de es fi fr hu it ja ko nl pl ru sk sv zh_CN zh_TW" |
| 2129 | 19 | AM_GNU_GETTEXT |
| 20 | ||
| 21 | AC_CYGWIN | |
| 22 | ||
| 23 | ||
| 24 | dnl Checks for header files. | |
| 25 | AC_HEADER_STDC | |
| 26 | AC_HEADER_SYS_WAIT | |
| 27 | AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h locale.h signal.h) | |
| 28 | ||
| 29 | dnl Checks for typedefs, structures, and compiler characteristics. | |
| 30 | AC_C_CONST | |
| 31 | AC_STRUCT_TM | |
| 32 | ||
| 33 | dnl Checks for library functions. | |
| 34 | AC_TYPE_SIGNAL | |
| 35 | AC_FUNC_STRFTIME | |
| 36 | AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) | |
| 37 | dnl Checks for getopt in standard library | |
| 3174 | 38 | AC_CHECK_FUNCS(getopt_long , , |
| 39 | AC_LIBOBJ(getopt) | |
| 40 | AC_LIBOBJ(getopt1)) | |
| 41 | ||
| 2129 | 42 | |
| 2959 | 43 | dnl Check for inet_aton |
| 44 | AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, , | |
| 45 | [AC_ERROR(inet_aton not found)])]) | |
| 46 | ||
| 3150 | 47 | dnl Check for socklen_t (in Unix98) |
| 48 | AC_MSG_CHECKING(for socklen_t) | |
| 49 | AC_TRY_COMPILE([#include <sys/types.h> | |
| 50 | #include <sys/socket.h> | |
| 51 | socklen_t x; | |
| 52 | ], [], [AC_MSG_RESULT(yes)], [ | |
|
3194
9404dfabed94
[gaim-migrate @ 3211]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3191
diff
changeset
|
53 | AC_TRY_COMPILE([#include <sys/types.h> |
| 3150 | 54 | #include <sys/socket.h> |
| 55 | int accept(int, struct sockaddr *, size_t *); | |
| 56 | ], [], [ | |
| 57 | AC_MSG_RESULT(size_t) | |
|
3194
9404dfabed94
[gaim-migrate @ 3211]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3191
diff
changeset
|
58 | AC_DEFINE(socklen_t, size_t)], [ |
| 3150 | 59 | AC_MSG_RESULT(int) |
| 60 | AC_DEFINE(socklen_t, int)])]) | |
| 61 | ||
| 2129 | 62 | dnl This is a bad, bad hack. I am a bad, bad man. |
| 63 | CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I\$(top_srcdir)" | |
| 64 | ||
| 65 | AC_ARG_ENABLE(distrib,,,enable_distrib=no) | |
| 66 | AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | |
| 67 | AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) | |
| 68 | AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) | |
| 69 | AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="oscar toc") | |
| 70 | if test "x$STATIC_PRPLS" = "xall" ; then | |
| 3382 | 71 | STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" |
| 2129 | 72 | fi |
| 73 | AC_SUBST(STATIC_PRPLS) | |
| 74 | STATIC_LINK_LIBS= | |
| 75 | extern_init= | |
| 76 | load_proto= | |
| 77 | for i in $STATIC_PRPLS ; do | |
| 78 | STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" | |
| 79 | extern_init="$extern_init extern void ${i}_init(struct prpl *);" | |
| 80 | load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));" | |
| 81 | case $i in | |
|
2393
cfef0212506b
[gaim-migrate @ 2406]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2330
diff
changeset
|
82 | gg) static_gg=yes ;; |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
83 | irc) static_irc=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
84 | jabber) static_jabber=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
85 | msn) static_msn=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
86 | napster) static_napster=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
87 | oscar) static_oscar=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
88 | toc) static_toc=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
89 | yahoo) static_yahoo=yes ;; |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
90 | zephyr) static_zephyr=yes ;; |
| 2129 | 91 | *) echo "Invalid static protocol $i!!" ; exit ;; |
| 92 | esac | |
| 93 | done | |
|
2393
cfef0212506b
[gaim-migrate @ 2406]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2330
diff
changeset
|
94 | AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes") |
|
2244
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
95 | AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
96 | AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
97 | AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
98 | AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
99 | AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
100 | AM_CONDITIONAL(STATIC_TOC, test "x$static_toc" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
101 | AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") |
|
7231c3f80615
[gaim-migrate @ 2254]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2238
diff
changeset
|
102 | AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
| 2129 | 103 | AC_SUBST(STATIC_LINK_LIBS) |
| 104 | AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }) | |
| 105 | ||
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
106 | AC_ARG_ENABLE(gtk2, [ --enable-gtk2 compile using GTK 2 (BROKEN)],,enable_gtk2=no) |
| 2129 | 107 | AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],,enable_gnome=yes) |
|
2856
046ed5e89321
[gaim-migrate @ 2869]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2852
diff
changeset
|
108 | AC_ARG_ENABLE(pixbuf, [ --disable-pixbuf compile without GdkPixbuf],,enable_pixbuf=yes) |
| 2129 | 109 | AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) |
| 110 | ||
| 111 | AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") | |
| 112 | AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) | |
| 113 | AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) | |
| 2179 | 114 | AC_ARG_ENABLE(artsc, [ --disable-artsc Turn off ArtsC (default=auto)],,enable_artsc=yes) |
| 2129 | 115 | |
| 116 | AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) | |
| 117 | AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) | |
| 118 | ||
|
2430
c1cb49692a34
[gaim-migrate @ 2443]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2416
diff
changeset
|
119 | AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
| 2129 | 120 | AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) |
| 121 | AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no") | |
| 122 | ||
| 123 | if test "$enable_debug" = yes ; then | |
|
2541
0afd3aaba327
[gaim-migrate @ 2554]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2540
diff
changeset
|
124 | CFLAGS="$CFLAGS -Wall -g3" |
| 2129 | 125 | AC_DEFINE(DEBUG) |
| 126 | fi | |
| 127 | ||
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
128 | if test "x$enable_gtk2" = "xyes" ; then |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
129 | dnl AM_PATH_GTK_2_0(1.3.10,[ |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
130 | dnl enable_gnome=no |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
131 | dnl enable_pixbuf=no |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
132 | dnl CFLAGS="$CFLAGS -DGTK_ENABLE_BROKEN" |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
133 | dnl UI_LIBS="$UI_LIBS $GTK_LIBS" |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
134 | dnl ],enable_gtk2=no) |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
135 | |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
136 | AC_PATH_PROG(pkgcfg, pkg-config) |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
137 | if test "x$pkgcfg" = "x" ; then |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
138 | enable_gtk2=no |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
139 | else |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
140 | GTK_VER=`$pkgcfg gtk+-2.0 --modversion 2>/dev/null` |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
141 | if test "x$GTK_VER" = "x" ; then |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
142 | enable_gtk2=no |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
143 | else |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
144 | GTK_CFLAGS=`$pkgcfg gtk+-2.0 --cflags` |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
145 | CFLAGS="$CFLAGS -DGTK_ENABLE_BROKEN" |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
146 | GTK_LIBS=`$pkgcfg gtk+-2.0 --libs` |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
147 | UI_LIBS="$UI_LIBS $GTK_LIBS" |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
148 | enable_gnome=no |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
149 | enable_pixbuf=no |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
150 | fi |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
151 | fi |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
152 | fi |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
153 | |
| 2129 | 154 | if test "x$enable_gnome" = "xyes" ; then |
| 155 | if test "x$enable_panel" = "xyes" ; then | |
| 156 | GNOME_INIT(applets) | |
| 157 | GNOME_X_CHECKS | |
| 158 | CFLAGS="$CFLAGS $GNOME_INCLUDEDIR" | |
| 159 | AC_DEFINE(USE_APPLET) | |
| 160 | AC_DEFINE(USE_GNOME) | |
|
2181
51afafcf4053
[gaim-migrate @ 2191]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2179
diff
changeset
|
161 | UI_LIBS="$UI_LIBS $GTK_LIBS $GNOME_LIBDIR $GNOME_APPLETS_LIBS $GNOMEUI_LIBS" |
| 2129 | 162 | AC_PATH_PROG(gaimpath, gaim_applet) |
| 163 | else | |
| 164 | AC_PATH_PROG(gnomepath, gnome-config) | |
| 165 | AC_MSG_CHECKING(for Gnome compile flags) | |
| 166 | GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null` | |
| 167 | if test "x$GNOME_CFLAGS" = "x" ; then | |
| 168 | enable_gnome=no | |
| 169 | AC_MSG_RESULT([Gnome not found, building without it.]) | |
| 170 | else | |
| 171 | GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //' 2>/dev/null` | |
| 172 | GNOME_MAJOR=`echo $GNOME_VER |$sedpath 's/\([[0-9]*]*\).\([[0-9]*]*\).\([[0-9]*]*\)/\1/' 2>/dev/null` | |
| 173 | if test "x$GNOME_MAJOR" = "x0" ; then | |
| 174 | enable_gnome = no | |
| 175 | AC_MSG_RESULT([old Gnome found, building without it.]) | |
| 176 | else | |
| 177 | AC_MSG_RESULT(ok) | |
| 178 | CFLAGS="$CFLAGS $GNOME_CFLAGS" | |
|
2181
51afafcf4053
[gaim-migrate @ 2191]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2179
diff
changeset
|
179 | UI_LIBS="$UI_LIBS `$gnomepath gnomeui --libs 2>/dev/null`" |
| 2129 | 180 | AC_DEFINE(USE_GNOME) |
| 181 | GNOME_CONFIG="$gnomepath" | |
| 182 | AC_SUBST(GNOME_CONFIG) | |
| 183 | AC_PATH_PROG(gaimpath, gaim) | |
| 184 | fi | |
| 185 | fi | |
| 186 | fi | |
| 187 | fi | |
| 188 | ||
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
189 | if test "x$enable_gnome" != "xyes" -a "x$enable_gtk2" != "xyes" ; then |
|
2862
962a6d4da169
[gaim-migrate @ 2875]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2856
diff
changeset
|
190 | AM_PATH_GLIB(1.2.5,,AC_MSG_ERROR([ |
| 2129 | 191 | *** GLib is required to build Gaim; please make sure you have the GLib |
| 192 | *** development headers installed. The latest version of GLib is | |
| 193 | *** always available at http://www.gtk.org/.])) | |
|
2862
962a6d4da169
[gaim-migrate @ 2875]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2856
diff
changeset
|
194 | AM_PATH_GTK(1.2.5,,AC_MSG_ERROR([ |
| 2129 | 195 | *** GTK+ is required to build Gaim; please make sure you have the GTK+ |
| 196 | *** development headers installed. The latest version of GTK+ is | |
|
2730
4ef197916fd0
[gaim-migrate @ 2743]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2726
diff
changeset
|
197 | *** always available at http://www.gtk.org/.])) |
|
2181
51afafcf4053
[gaim-migrate @ 2191]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2179
diff
changeset
|
198 | UI_LIBS="$UI_LIBS $GTK_LIBS" |
| 2129 | 199 | AC_PATH_PROG(gaimpath, gaim) |
| 200 | fi | |
| 201 | CFLAGS="$CFLAGS $GTK_CFLAGS" | |
| 202 | ||
|
2659
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
203 | dnl if test "x$enable_panel" = "xyes" ; then |
| 2657 | 204 | dnl Things moved with the new versoin of Orbit. Thanks for |
| 205 | dnl telling me, Dan. This should fix them. | |
|
2659
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
206 | dnl |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
207 | dnl The gnome-config script should pick this up and affect GNOME_ variables |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
208 | dnl correctly. Thus, this check is not needed; if it fails, it is because of |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
209 | dnl a broken installation or that your appletsConf.sh file is not updated |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
210 | dnl for the new orbit installation. Gaim shouldn't need to do this. |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
211 | dnl |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
212 | dnl CFLAGS="$CFLAGS $ORBIT_CFLAGS" |
|
e32eb63436f1
[gaim-migrate @ 2672]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2658
diff
changeset
|
213 | dnl fi |
| 2657 | 214 | |
| 2129 | 215 | use_pixbuf=no |
| 216 | if test "x$enable_pixbuf" = "xyes" ; then | |
| 217 | AC_PATH_PROG(pixbufcfg, gdk-pixbuf-config) | |
| 218 | if test "x$pixbufcfg" != "x" ; then | |
| 219 | GDK_PIXBUF_CFLAGS=`$pixbufcfg --cflags` | |
| 220 | GDK_PIXBUF_LIBS=`$pixbufcfg --libs` | |
| 221 | GDK_PIXBUF_CONFIG="$pixbufcfg" | |
| 222 | AC_SUBST(GDK_PIXBUF_CONFIG) | |
| 223 | AC_SUBST(GDK_PIXBUF_CFLAGS) | |
| 224 | AC_SUBST(GDK_PIXBUF_LIBS) | |
| 225 | CFLAGS="$CFLAGS $GDK_PIXBUF_CFLAGS" | |
|
2181
51afafcf4053
[gaim-migrate @ 2191]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2179
diff
changeset
|
226 | UI_LIBS="$UI_LIBS $GDK_PIXBUF_LIBS" |
| 2129 | 227 | dnl We should be doing checks to see that the header files and functions exist. eh. |
| 228 | AC_DEFINE(USE_PIXBUF) | |
| 229 | use_pixbuf=yes | |
| 230 | fi | |
| 231 | fi | |
|
2178
e30d0c41f165
[gaim-migrate @ 2188]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2163
diff
changeset
|
232 | AC_SUBST(UI_LIBS) |
| 2129 | 233 | |
| 234 | dnl Check for XScreenSaver | |
| 235 | if test "x$enable_xss" = "xyes" ; then | |
| 3282 | 236 | AC_PATH_X |
|
2182
c33eb7c19074
[gaim-migrate @ 2192]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2181
diff
changeset
|
237 | old_LIBS="$LIBS" |
| 3282 | 238 | LIBS="$LIBS $UI_LIBS -L$x_libraries" |
| 2129 | 239 | XSS_LIBS="no" |
| 240 | XSS_HEADERS="no" | |
| 3282 | 241 | AC_CHECK_LIB(Xext, XScreenSaverRegister,[XSS_LIBS="-L$x_libraries"],[],[-lX11 -lXext -lm]) |
| 242 | AC_CHECK_LIB(Xss, XScreenSaverRegister,[XSS_LIBS="-L$x_libraries -lXss"],[],[-lX11 -lXext -lm]) | |
| 2129 | 243 | if test \! "$XSS_LIBS" = "no"; then |
| 244 | AC_TRY_COMPILE([ | |
| 245 | #include <X11/extensions/scrnsaver.h> | |
| 246 | ],[],[enable_xss=no],[ | |
| 247 | AC_DEFINE(USE_SCREENSAVER) | |
| 248 | ]) | |
| 249 | else | |
| 250 | XSS_LIBS="" | |
| 251 | enable_xss=no | |
| 252 | fi | |
|
2182
c33eb7c19074
[gaim-migrate @ 2192]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2181
diff
changeset
|
253 | LIBS="$old_LIBS" |
| 2129 | 254 | else |
| 255 | XSS_LIBS="" | |
| 256 | enable_xss=no | |
| 257 | fi | |
| 258 | AC_SUBST(XSS_LIBS) | |
| 259 | ||
| 260 | ||
|
3203
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
261 | AC_DEFUN(GC_TM_GMTOFF, |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
262 | [AC_REQUIRE([AC_STRUCT_TM])dnl |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
263 | AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff, |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
264 | [AC_TRY_COMPILE([#include <sys/types.h> |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
265 | #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;], |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
266 | ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)]) |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
267 | if test "$ac_cv_struct_tm_gmtoff" = yes; then |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
268 | AC_DEFINE(HAVE_TM_GMTOFF) |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
269 | fi |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
270 | ]) |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
271 | |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
272 | GC_TM_GMTOFF |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
273 | |
|
893dc8ee2385
[gaim-migrate @ 3220]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3194
diff
changeset
|
274 | |
| 2129 | 275 | |
| 276 | dnl This was taken straight from X-Chat. | |
| 277 | dnl X-Chat is the greatest application ever, not only | |
| 278 | dnl because it's a rocking IRC client but also because | |
| 279 | dnl it's very easy to learn from. | |
| 280 | if test "$enable_perl" = yes ; then | |
| 281 | AC_PATH_PROG(perlpath, perl) | |
| 282 | AC_MSG_CHECKING(for Perl compile flags) | |
| 283 | PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` | |
| 284 | if test "_$PERL_CFLAGS" = _ ; then | |
| 285 | AC_MSG_RESULT([not found, building without perl.]) | |
| 286 | enable_perl = no | |
| 287 | else | |
| 288 | PERL_LIBS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null |$sedpath 's/-lgdbm //'` | |
| 289 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-ldb //'` | |
| 290 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lndbm //'` | |
| 291 | if test "$system" = "Linux"; then | |
| 292 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lnsl //'` | |
| 293 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lposix //'` | |
| 294 | fi | |
| 295 | PERL_LIBS=`echo $PERL_LIBS |$sedpath 's/-lc //'` | |
| 296 | AC_MSG_RESULT(ok) | |
| 297 | AC_SUBST(PERL_CFLAGS) | |
| 298 | AC_SUBST(PERL_LIBS) | |
| 299 | AC_DEFINE(USE_PERL) | |
| 300 | AC_CHECK_FUNCS(Perl_eval_pv) | |
| 301 | fi | |
| 302 | fi | |
| 303 | ||
| 304 | if test "$enable_nas" = yes ; then | |
| 305 | AC_DEFINE(NAS_SOUND) | |
|
2178
e30d0c41f165
[gaim-migrate @ 2188]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2163
diff
changeset
|
306 | SOUND_LIBS="-laudio -lXt" |
| 2129 | 307 | fi |
| 308 | if test "$enable_esd" = yes ; then | |
| 309 | AM_PATH_GESD | |
| 310 | if test "$no_esd" != yes ; then | |
| 2179 | 311 | old_CFLAGS="$CFLAGS" |
| 2129 | 312 | CFLAGS="$CFLAGS $ESD_CFLAGS" |
|
2184
83f29bfc76d6
[gaim-migrate @ 2194]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2182
diff
changeset
|
313 | AC_TRY_COMPILE(,[#include <esd.h>], |
| 2179 | 314 | [ |
| 315 | AC_DEFINE(ESD_SOUND) | |
| 316 | SOUND_LIBS="$SOUND_LIBS $ESD_LIBS" | |
| 317 | ],[ | |
| 318 | enable_esd=no | |
| 319 | CFLAGS="$old_CFLAGS" | |
| 320 | ]) | |
| 2129 | 321 | else |
| 322 | enable_esd=no | |
| 323 | fi | |
| 324 | fi | |
| 2179 | 325 | if test "x$enable_artsc" = "xyes"; then |
| 326 | AM_PATH_ARTSC | |
| 327 | if test "x$no_artsc" != "xyes" ; then | |
| 328 | old_CFLAGS="$CFLAGS" | |
| 329 | CFLAGS="$CFLAGS $ARTSC_CFLAGS" | |
|
2184
83f29bfc76d6
[gaim-migrate @ 2194]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2182
diff
changeset
|
330 | AC_TRY_COMPILE(,[#include <artsc.h>], |
| 2179 | 331 | [ |
| 332 | AC_DEFINE(ARTSC_SOUND) | |
| 333 | SOUND_LIBS="$SOUND_LIBS $ARTSC_LIBS" | |
| 334 | ],[ | |
| 335 | enable_artsc=no | |
| 336 | CFLAGS="$old_CFLAGS" | |
| 337 | ]) | |
| 338 | else | |
| 339 | enable_artsc=no | |
| 340 | fi | |
| 341 | fi | |
|
2178
e30d0c41f165
[gaim-migrate @ 2188]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2163
diff
changeset
|
342 | AC_SUBST(SOUND_LIBS) |
| 2129 | 343 | |
| 344 | if test "$ac_cv_cygwin" = yes ; then | |
| 345 | LDADD="$LDADD -static" | |
| 346 | CFLAGS="$CFLAGS -Wall -g" | |
| 347 | AC_DEFINE(DEBUG) | |
| 348 | fi | |
| 349 | ||
| 350 | AC_SUBST(CFLAGS) | |
| 351 | AC_SUBST(LDADD) | |
| 352 | AC_SUBST(LIBS) | |
| 353 | ||
| 354 | if test "x$enable_multi" != "xyes" ; then | |
| 355 | AC_DEFINE(NO_MULTI) | |
| 356 | enable_multi=no | |
| 357 | fi | |
| 358 | ||
| 359 | if test "x$enable_plugins" = "xyes" ; then | |
| 360 | AC_DEFINE(GAIM_PLUGINS) | |
| 361 | AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") | |
| 362 | else | |
| 363 | enable_plugins=no | |
| 364 | enable_prpls=no | |
| 365 | fi | |
| 366 | ||
| 367 | if test "x$enable_prpls" = "xyes" ; then | |
| 368 | AM_CONDITIONAL(PRPLS, test "x$enable_plugins" = "xyes") | |
| 369 | else | |
| 370 | enable_prpls=no | |
| 371 | fi | |
| 372 | ||
| 373 | dnl checks for icqlib | |
| 374 | AC_CHECK_HEADERS(asm/byteorder.h byteswap.h endian.h machine/endian.h arpa/nameser_compat.h) | |
| 375 | AC_CHECK_FUNCS(bswap_32 bswap_16) | |
| 376 | AC_C_BIGENDIAN | |
| 377 | ||
| 378 | dnl checks for jabber | |
| 379 | dnl AC_CHECK_SIZEOF(short) | |
| 380 | AC_CHECK_FUNCS(snprintf connect) | |
| 381 | AC_CHECK_LIB(nsl, gethostent) | |
| 382 | ||
| 383 | dnl checks for zephyr | |
| 384 | AC_DEFINE(ZEPHYR_INT32, long) | |
| 385 | AC_SUBST(KRB4_CFLAGS) | |
| 386 | AC_SUBST(KRB4_LDFLAGS) | |
| 387 | AC_SUBST(KRB4_LIBS) | |
| 388 | if test "$kerberos" != "no" ; then | |
| 389 | if test "$kerberos" != "yes" ; then | |
| 390 | KRB4_CFLAGS="-I${kerberos}/include" | |
| 391 | if test -d "$kerberos/include/kerberosIV" ; then | |
| 392 | KRB4_CFLAGS="$KRB4_CFLAGS -I${kerberos}/include/kerberosIV" | |
| 393 | fi | |
| 394 | KRB4_LDFLAGS="-L${kerberos}/lib" | |
| 395 | elif test -d /usr/local/include/kerberosIV ; then | |
| 396 | KRB4_CFLAGS="-I/usr/local/include/kerberosIV" | |
| 397 | elif test -d /usr/include/kerberosIV ; then | |
| 398 | KRB4_CFLAGS="-I/usr/include/kerberosIV" | |
| 399 | fi | |
| 400 | AC_DEFINE(ZEPHYR_USES_KERBEROS) | |
| 401 | ||
| 402 | orig_LDFLAGS="$LDFLAGS" | |
| 403 | LDFLAGS="$LDFLAGS $KRB4_LDFLAGS" | |
| 404 | AC_CHECK_LIB(krb4, krb_rd_req, | |
| 405 | [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"], | |
| 406 | [AC_CHECK_LIB(krb, krb_rd_req, | |
| 407 | [KRB4_LIBS="-lkrb -ldes"], | |
| 408 | [AC_ERROR(Kerberos 4 libraries not found)], | |
| 409 | -ldes)], | |
| 410 | -ldes425 -lkrb5 -lk5crypto -lcom_err) | |
| 411 | orig_LIBS="$LIBS" | |
| 412 | LIBS="$LIBS $KRB4_LIBS" | |
| 413 | AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm) | |
| 414 | AC_CHECK_FUNCS(krb_get_err_text krb_log) | |
| 415 | LIBS="$orig_LIBS" | |
| 416 | LDFLAGS="$orig_LDFLAGS" | |
| 417 | fi | |
| 418 | AC_CHECK_FUNCS(gethostid lrand48) | |
| 419 | AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf) | |
| 420 | AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h) | |
| 421 | AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h) | |
| 422 | AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h) | |
| 423 | AC_CHECK_HEADERS(termios.h) | |
|
3194
9404dfabed94
[gaim-migrate @ 3211]
Jim Seymour <jseymour@users.sourceforge.net>
parents:
3191
diff
changeset
|
424 | AC_VAR_TIMEZONE_EXTERNALS |
| 2129 | 425 | |
| 426 | AC_OUTPUT([Makefile | |
| 427 | doc/Makefile | |
| 428 | intl/Makefile | |
| 429 | m4/Makefile | |
| 430 | pixmaps/Makefile | |
| 3039 | 431 | pixmaps/protocols/Makefile |
| 432 | pixmaps/protocols/msn/Makefile | |
| 433 | pixmaps/protocols/yahoo/Makefile | |
| 2129 | 434 | plugins/Makefile |
| 435 | po/Makefile.in | |
| 436 | sounds/Makefile | |
| 437 | src/Makefile | |
| 438 | src/protocols/Makefile | |
|
2393
cfef0212506b
[gaim-migrate @ 2406]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2330
diff
changeset
|
439 | src/protocols/gg/Makefile |
| 2129 | 440 | src/protocols/icq/Makefile |
| 441 | src/protocols/irc/Makefile | |
| 442 | src/protocols/jabber/Makefile | |
| 443 | src/protocols/msn/Makefile | |
| 444 | src/protocols/napster/Makefile | |
| 445 | src/protocols/oscar/Makefile | |
| 446 | src/protocols/toc/Makefile | |
| 447 | src/protocols/yahoo/Makefile | |
| 448 | src/protocols/zephyr/Makefile | |
| 449 | gaim.spec | |
| 450 | ]) | |
| 451 | ||
| 452 | echo | |
| 453 | echo $PACKAGE $VERSION | |
| 454 | ||
| 455 | echo | |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
456 | echo Allow Multiple Connections.... : $enable_multi |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
457 | echo Build Protocol Plugins........ : $enable_prpls |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
458 | echo Protocols to link statically.. : $STATIC_PRPLS |
| 2129 | 459 | echo |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
460 | if test "x$enable_panel" = "xyes" ; then |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
461 | echo UI Library.................... : GNOME Panel |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
462 | elif test "x$enable_gnome" = "xyes" ; then |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
463 | echo UI Library.................... : GNOME App |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
464 | elif test "x$enable_gtk2" = "xyes" ; then |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
465 | echo UI Library.................... : GTK+ 2.0 |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
466 | else |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
467 | echo UI Library.................... : GTK+ 1.2 |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
468 | fi |
| 3362 | 469 | if test "x$enable_gtk2" = "xno" ; then |
| 470 | dnl echo Use GdkPixbuf................. : yes | |
| 471 | dnl else | |
|
2856
046ed5e89321
[gaim-migrate @ 2869]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2852
diff
changeset
|
472 | echo Use GdkPixbuf................. : $use_pixbuf |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
473 | fi |
| 2129 | 474 | echo |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
475 | echo Build with Plugin support..... : $enable_plugins |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
476 | echo Build with Perl support....... : $enable_perl |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
477 | echo |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
478 | echo Use XScreenSaver Extension.... : $enable_xss |
| 2129 | 479 | echo |
|
2725
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
480 | echo Build with ESD................ : $enable_esd |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
481 | echo Build with NAS................ : $enable_nas |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
482 | echo Build with ArtsC.............. : $enable_artsc |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
483 | echo |
|
a844d0964552
[gaim-migrate @ 2738]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2711
diff
changeset
|
484 | echo Print debugging messages...... : $enable_debug |
| 2129 | 485 | echo |
|
2452
8a19e5abeaf8
[gaim-migrate @ 2465]
Eric Warmenhoven <warmenhoven@yahoo.com>
parents:
2436
diff
changeset
|
486 | eval eval echo Gaim will be installed in $bindir. |
| 2129 | 487 | if test "x$gaimpath" != "x" ; then |
| 488 | echo Warning: You have an old copy of gaim at $gaimpath. | |
| 489 | fi | |
| 490 | echo | |
| 491 | echo configure complete, now type \'make\' | |
| 492 | echo |