Mercurial > pidgin.yaz
annotate configure.in @ 1092:a930439f29b1
[gaim-migrate @ 1102]
fun fun
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 13 Nov 2000 04:29:41 +0000 |
parents | 0b0b4cb53c17 |
children | 3deadbe50737 |
rev | line source |
---|---|
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
1 dnl Process this file with autoconf to produce a configure script. |
0 | 2 AC_INIT(src/aim.c) |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
3 AM_CONFIG_HEADER(config.h) |
972
4989c959f5b1
[gaim-migrate @ 982]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
951
diff
changeset
|
4 AM_INIT_AUTOMAKE([gaim], [0.11.0]) |
0 | 5 |
6 dnl Checks for programs. | |
7 AM_PROG_LIBTOOL | |
8 AC_PROG_CC | |
9 AC_PROG_INSTALL | |
10 | |
932
13bdc97d433e
[gaim-migrate @ 942]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
923
diff
changeset
|
11 |
419 | 12 ALL_LINGUAS="de fr es zh_CN ko" |
347
d64101dc5c7e
[gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
338
diff
changeset
|
13 AM_GNU_GETTEXT |
0 | 14 |
15 AC_CYGWIN | |
16 | |
17 | |
18 dnl Checks for header files. | |
19 AC_HEADER_STDC | |
20 AC_HEADER_SYS_WAIT | |
614
a3e32af35b30
[gaim-migrate @ 624]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
606
diff
changeset
|
21 AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h locale.h signal.h) |
212
89c9334d3484
[gaim-migrate @ 222]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
174
diff
changeset
|
22 AC_CHECK_HEADERS(pthread.h,,AC_MSG_ERROR([*** POSIX thread support not found ***])) |
89c9334d3484
[gaim-migrate @ 222]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
174
diff
changeset
|
23 |
0 | 24 dnl Checks for typedefs, structures, and compiler characteristics. |
25 AC_C_CONST | |
26 AC_STRUCT_TM | |
27 | |
28 dnl Checks for library functions. | |
29 AC_TYPE_SIGNAL | |
30 AC_FUNC_STRFTIME | |
640
2c0a7d245bd2
[gaim-migrate @ 650]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
614
diff
changeset
|
31 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) |
932
13bdc97d433e
[gaim-migrate @ 942]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
923
diff
changeset
|
32 AC_TRY_COMPILE(sys/socket.h, typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),) |
0 | 33 |
991
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
34 dnl Checks for getopt in standard library |
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
35 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) |
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
36 AC_SUBST(LIBOBJS) |
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
37 |
0 | 38 dnl This is a bad, bad hack. I am a bad, bad man. |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
39 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../" |
0 | 40 |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
529
diff
changeset
|
41 AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
529
diff
changeset
|
42 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") |
1024
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
43 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) |
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
44 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],,enable_gnome=yes) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
45 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
46 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") |
1024
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) |
553
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
48 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) |
1024
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
49 AC_ARG_ENABLE(plugins, [ --disable-plugins compile with out plugin support],,enable_plugins=yes) |
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
50 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
51 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
1030
38452403563b
[gaim-migrate @ 1040]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1026
diff
changeset
|
52 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) |
1024
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
53 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
529
diff
changeset
|
54 AC_ARG_ENABLE(,,,) |
0 | 55 |
56 if test "$enable_debug" = yes ; then | |
402
943248245f32
[gaim-migrate @ 412]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
386
diff
changeset
|
57 CFLAGS="$CFLAGS -Wall -g" |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
58 AC_DEFINE(DEBUG) |
0 | 59 fi |
60 | |
450
e1c09b8c8bb1
[gaim-migrate @ 460]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
423
diff
changeset
|
61 CFLAGS="$CFLAGS -I../libfaim -I../libfaim/faim" |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1030
diff
changeset
|
62 LDADD="$LDADD -L../libfaim -lfaim" |
216
f7e17fb767eb
[gaim-migrate @ 226]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
215
diff
changeset
|
63 |
529
e6ba7ab7c349
[gaim-migrate @ 539]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
510
diff
changeset
|
64 if test "x$enable_gnome" = "xyes" ; then |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
65 if test "x$enable_panel" = "xyes" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
66 GNOME_INIT(gnomeui applets) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
67 GNOME_X_CHECKS |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
68 CFLAGS="$CFLAGS $GNOME_INCLUDEDIR" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
69 AC_DEFINE(USE_APPLET) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
70 AC_DEFINE(USE_GNOME) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
71 LIBS="$LIBS $GTK_LIBS $GNOME_LIBDIR $GNOME_APPLETS_LIBS $GNOMEUI_LIBS" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
72 AC_PATH_PROG(gaimpath, gaim_applet) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
73 else |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
74 AC_PATH_PROG(gnomepath, gnome-config) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
75 AC_MSG_CHECKING(for Gnome compile flags) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
76 GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null` |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
77 if test "x$GNOME_CFLAGS" = "x" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
78 enable_gnome=no |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
79 AC_MSG_RESULT([Gnome not found, building without it.]) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
80 else |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
81 GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //' 2>/dev/null` |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
82 GNOME_MAJOR=`echo $GNOME_VER |$sedpath 's/\([[0-9]*]*\).\([[0-9]*]*\).\([[0-9]*]*\)/\1/' 2>/dev/null` |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
83 if test "x$GNOME_MAJOR" = "x0" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
84 enable_gnome = no |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
85 AC_MSG_RESULT([old Gnome found, building without it.]) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
86 else |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
87 AC_MSG_RESULT(ok) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
88 CFLAGS="$CFLAGS $GNOME_CFLAGS" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
89 LIBS="$LIBS `$gnomepath gnomeui --libs 2>/dev/null`" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
90 AC_DEFINE(USE_GNOME) |
606
eaab8abda2c0
[gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
598
diff
changeset
|
91 GNOME_CONFIG="$gnomepath" |
eaab8abda2c0
[gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
598
diff
changeset
|
92 AC_SUBST(GNOME_CONFIG) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
93 AC_PATH_PROG(gaimpath, gaim) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
94 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
95 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
96 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
97 fi |
606
eaab8abda2c0
[gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
598
diff
changeset
|
98 AM_CONDITIONAL(GNOMEBITS, test "x$enable_gnome" = "xyes") |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
99 |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
100 if test "x$enable_gnome" != "xyes" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
101 AM_PATH_GLIB(1.2.0) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
102 AM_PATH_GTK(1.2.0,,,gthread) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
103 LIBS="$LIBS $GTK_LIBS" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
104 AC_PATH_PROG(gaimpath, gaim) |
0 | 105 fi |
106 | |
1026 | 107 dnl Check for XScreenSaver |
108 if test "x$enable_xss" = "xyes" ; then | |
109 XSS_LIBS="no" | |
110 XSS_HEADERS="no" | |
111 AC_CHECK_LIB(Xext, XScreenSaverRegister,[XSS_LIBS=""],[],[-lX11 -lXext -lm]) | |
112 AC_CHECK_LIB(Xss, XScreenSaverRegister,[XSS_LIBS="-lXss"],[],[-lX11 -lXext -lm]) | |
113 if test \! "$XSS_LIBS" = "no"; then | |
114 AC_CHECK_HEADER(X11/extensions/scrnsaver.h,[XSS_HEADERS="yes"]) | |
115 if test "$XSS_HEADERS" = "yes"; then | |
116 dnl Found the libs and the headers | |
117 AC_DEFINE(USE_SCREENSAVER) | |
118 LIBS="$LIBS $XSS_LIBS" | |
119 fi | |
120 else | |
121 XSS_LIBS="" | |
122 fi | |
123 else | |
124 XSS_LIBS="" | |
125 fi | |
126 | |
127 | |
128 | |
129 | |
991
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
130 if test "x$enable_multi" != "xyes" ; then |
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
131 AC_DEFINE(NO_MULTI) |
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
132 fi |
3dbc2cd326e2
[gaim-migrate @ 1001]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
133 |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
134 CFLAGS="$CFLAGS $GTK_CFLAGS" |
0 | 135 |
1024
66481301d972
[gaim-migrate @ 1034]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
991
diff
changeset
|
136 if test "x$enable_plugins" = xyes ; then |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1030
diff
changeset
|
137 AC_DEFINE(GAIM_PLUGINS) |
0 | 138 fi |
139 | |
553
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
140 dnl This was taken straight from X-Chat. |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
141 dnl X-Chat is the greatest application ever, not only |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
142 dnl because it's a rocking IRC client but also because |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
143 dnl it's very easy to learn from. |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
144 if test "$enable_perl" = yes ; then |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
145 AC_PATH_PROG(sedpath, sed) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
146 AC_PATH_PROG(perlpath, perl) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
147 AC_MSG_CHECKING(for Perl compile flags) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
148 PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
149 if test "_$PERL_CFLAGS" = _ ; then |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
150 AC_MSG_RESULT([not found, building without perl.]) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
151 enable_perl = no |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
152 else |
565
7209b474bdc3
[gaim-migrate @ 575]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
553
diff
changeset
|
153 PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null |$sedpath 's/-lgdbm //'` |
553
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
154 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-ldb //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
155 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lndbm //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
156 if test "$system" = "Linux"; then |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
157 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lnsl //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
158 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lposix //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
159 fi |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
160 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lc //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
161 AC_MSG_RESULT(ok) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
162 CFLAGS="$CFLAGS $PERL_CFLAGS" |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
163 LIBS="$LIBS $PERL_LDFLAGS" |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
164 AC_DEFINE(USE_PERL) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
165 AC_CHECK_FUNCS(Perl_eval_pv) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
166 fi |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
167 fi |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
168 |
0 | 169 if test "$enable_nas" = yes ; then |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
170 AC_DEFINE(NAS_SOUND) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
171 LIBS="$LIBS -laudio" |
0 | 172 fi |
173 | |
174 if test "$enable_esd" = yes ; then | |
175 AM_PATH_GESD | |
176 if test "$no_esd" != yes ; then | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
177 CFLAGS="$CFLAGS $ESD_CFLAGS" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
178 AC_DEFINE(ESD_SOUND) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
179 LDADD="$LDADD $ESD_LIBS" |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
180 else |
981
7e231bc0018a
[gaim-migrate @ 991]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
972
diff
changeset
|
181 enable_esd=no |
0 | 182 fi |
183 fi | |
184 | |
185 if test "$ac_cv_cygwin" = yes ; then | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
186 LDADD="$LDADD -static" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
187 CFLAGS="$CFLAGS -Wall -g" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
188 AC_DEFINE(DEBUG) |
0 | 189 fi |
190 | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
191 AC_SUBST(CFLAGS) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
192 AC_SUBST(LDADD) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
193 AC_SUBST(LIBS) |
0 | 194 |
195 AC_OUTPUT([Makefile | |
196 src/Makefile | |
347
d64101dc5c7e
[gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
338
diff
changeset
|
197 intl/Makefile |
0 | 198 sounds/Makefile |
172
450d62d40185
[gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
170
diff
changeset
|
199 plugins/Makefile |
1054
0b0b4cb53c17
[gaim-migrate @ 1064]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1047
diff
changeset
|
200 plugins/yay/Makefile |
0 | 201 pixmaps/Makefile |
202 libfaim/Makefile | |
347
d64101dc5c7e
[gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
338
diff
changeset
|
203 po/Makefile.in |
0 | 204 doc/Makefile |
205 m4/Makefile | |
322
8ed366802f2e
[gaim-migrate @ 332]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
299
diff
changeset
|
206 gaim.spec |
0 | 207 ]) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
208 |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
209 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
210 echo $PACKAGE $VERSION |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
211 |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
212 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
213 echo Build with GNOME bits...... : $enable_gnome |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
214 echo Build as GNOME applet...... : $enable_panel |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
215 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
216 echo Build with Plugin support.. : $enable_plugins |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
217 echo Build with Perl support.... : $enable_perl |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
218 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
219 echo Build with ESD............. : $enable_esd |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
220 echo Build with NAS............. : $enable_nas |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
221 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
222 echo Print debugging messages... : $enable_debug |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
223 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
224 echo Gaim will be installed in $prefix/bin. |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
225 if test "x$gaimpath" != "x" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
226 echo Warning: You have an old copy of gaim at $gaimpath. |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
227 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
228 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
229 echo configure complete, now type \'make\' |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
230 echo |