Mercurial > pidgin
annotate configure.in @ 964:2cd7b73e2c9a
[gaim-migrate @ 974]
damn i'm smooth. chat is working now. :)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 10 Oct 2000 10:04:59 +0000 |
parents | b6d0a7105780 |
children | 4989c959f5b1 |
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) |
951 | 4 AM_INIT_AUTOMAKE([gaim], [0.10.3]) |
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 |
34 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
|
35 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../" |
0 | 36 |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
529
diff
changeset
|
37 AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
529
diff
changeset
|
38 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
39 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],enable_gnome=no,enable_gnome=yes) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
40 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
|
41 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") |
553
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
42 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],enable_esd=no,enable_esd=yes) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
43 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) |
174 | 44 AC_ARG_ENABLE(plugins, [ --disable-plugins compile with out plugin support],enable_plugins=no,enable_plugins=yes) |
553
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
45 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],enable_perl=no,enable_perl=yes) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
46 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
369
cf895313fc50
[gaim-migrate @ 379]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
352
diff
changeset
|
47 AM_CONDITIONAL(PLUGINS, test x$enable_plugins = xyes) |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
529
diff
changeset
|
48 AC_ARG_ENABLE(,,,) |
0 | 49 |
50 if test "$enable_debug" = yes ; then | |
402
943248245f32
[gaim-migrate @ 412]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
386
diff
changeset
|
51 CFLAGS="$CFLAGS -Wall -g" |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
52 AC_DEFINE(DEBUG) |
0 | 53 fi |
54 | |
450
e1c09b8c8bb1
[gaim-migrate @ 460]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
423
diff
changeset
|
55 CFLAGS="$CFLAGS -I../libfaim -I../libfaim/faim" |
423
0d4e80bdb96b
[gaim-migrate @ 433]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
419
diff
changeset
|
56 LDADD="$LDADD -L../libfaim -lfaim -pthread" |
216
f7e17fb767eb
[gaim-migrate @ 226]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
215
diff
changeset
|
57 |
529
e6ba7ab7c349
[gaim-migrate @ 539]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
510
diff
changeset
|
58 if test "x$enable_gnome" = "xyes" ; then |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
59 if test "x$enable_panel" = "xyes" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
60 GNOME_INIT(gnomeui applets) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
61 GNOME_X_CHECKS |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
62 CFLAGS="$CFLAGS $GNOME_INCLUDEDIR" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
63 AC_DEFINE(USE_APPLET) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
64 AC_DEFINE(USE_GNOME) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
65 LIBS="$LIBS $GTK_LIBS $GNOME_LIBDIR $GNOME_APPLETS_LIBS $GNOMEUI_LIBS" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
66 AC_PATH_PROG(gaimpath, gaim_applet) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
67 else |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
68 AC_PATH_PROG(gnomepath, gnome-config) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
69 AC_MSG_CHECKING(for Gnome compile flags) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
70 GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null` |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
71 if test "x$GNOME_CFLAGS" = "x" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
72 enable_gnome=no |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
73 AC_MSG_RESULT([Gnome not found, building without it.]) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
74 else |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
75 GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //' 2>/dev/null` |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
76 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
|
77 if test "x$GNOME_MAJOR" = "x0" ; 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([old Gnome 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 AC_MSG_RESULT(ok) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
82 CFLAGS="$CFLAGS $GNOME_CFLAGS" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
83 LIBS="$LIBS `$gnomepath gnomeui --libs 2>/dev/null`" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
84 AC_DEFINE(USE_GNOME) |
606
eaab8abda2c0
[gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
598
diff
changeset
|
85 GNOME_CONFIG="$gnomepath" |
eaab8abda2c0
[gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
598
diff
changeset
|
86 AC_SUBST(GNOME_CONFIG) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
87 AC_PATH_PROG(gaimpath, gaim) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
88 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
89 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
90 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
91 fi |
606
eaab8abda2c0
[gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
598
diff
changeset
|
92 AM_CONDITIONAL(GNOMEBITS, test "x$enable_gnome" = "xyes") |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
93 |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
94 if test "x$enable_gnome" != "xyes" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
95 AM_PATH_GLIB(1.2.0) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
96 AM_PATH_GTK(1.2.0,,,gthread) |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
97 LIBS="$LIBS $GTK_LIBS" |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
98 AC_PATH_PROG(gaimpath, gaim) |
0 | 99 fi |
100 | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
101 CFLAGS="$CFLAGS $GTK_CFLAGS" |
0 | 102 |
103 if test "$enable_plugins" = yes ; then | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
104 AC_DEFINE(GAIM_PLUGINS) |
0 | 105 fi |
106 | |
553
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
107 dnl This was taken straight from X-Chat. |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
108 dnl X-Chat is the greatest application ever, not only |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
109 dnl because it's a rocking IRC client but also because |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
110 dnl it's very easy to learn from. |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
111 if test "$enable_perl" = yes ; then |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
112 AC_PATH_PROG(sedpath, sed) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
113 AC_PATH_PROG(perlpath, perl) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
114 AC_MSG_CHECKING(for Perl compile flags) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
115 PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
116 if test "_$PERL_CFLAGS" = _ ; then |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
117 AC_MSG_RESULT([not found, building without perl.]) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
118 enable_perl = no |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
119 else |
565
7209b474bdc3
[gaim-migrate @ 575]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
553
diff
changeset
|
120 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
|
121 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-ldb //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
122 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lndbm //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
123 if test "$system" = "Linux"; then |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
124 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lnsl //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
125 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lposix //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
126 fi |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
127 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lc //'` |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
128 AC_MSG_RESULT(ok) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
129 CFLAGS="$CFLAGS $PERL_CFLAGS" |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
130 LIBS="$LIBS $PERL_LDFLAGS" |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
131 AC_DEFINE(USE_PERL) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
132 AC_CHECK_FUNCS(Perl_eval_pv) |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
133 fi |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
134 fi |
8cff36d54643
[gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
547
diff
changeset
|
135 |
0 | 136 if test "$enable_nas" = yes ; then |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
137 AC_DEFINE(NAS_SOUND) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
138 LIBS="$LIBS -laudio" |
0 | 139 fi |
140 | |
141 if test "$enable_esd" = yes ; then | |
142 AM_PATH_GESD | |
143 if test "$no_esd" != yes ; then | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
144 CFLAGS="$CFLAGS $ESD_CFLAGS" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
145 AC_DEFINE(ESD_SOUND) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
146 LDADD="$LDADD $ESD_LIBS" |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
147 else |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
148 enable_esd = no |
0 | 149 fi |
150 fi | |
151 | |
152 if test "$ac_cv_cygwin" = yes ; then | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
153 LDADD="$LDADD -static" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
154 CFLAGS="$CFLAGS -Wall -g" |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
155 AC_DEFINE(DEBUG) |
0 | 156 fi |
157 | |
349
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
158 AC_SUBST(CFLAGS) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
159 AC_SUBST(LDADD) |
b402a23f35df
[gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
347
diff
changeset
|
160 AC_SUBST(LIBS) |
0 | 161 AC_SUBST(LIBFAIM_DO) |
162 | |
163 AC_OUTPUT([Makefile | |
164 src/Makefile | |
347
d64101dc5c7e
[gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
338
diff
changeset
|
165 intl/Makefile |
0 | 166 sounds/Makefile |
172
450d62d40185
[gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
170
diff
changeset
|
167 plugins/Makefile |
0 | 168 pixmaps/Makefile |
169 libfaim/Makefile | |
347
d64101dc5c7e
[gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
338
diff
changeset
|
170 po/Makefile.in |
0 | 171 doc/Makefile |
172 m4/Makefile | |
322
8ed366802f2e
[gaim-migrate @ 332]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
299
diff
changeset
|
173 gaim.spec |
0 | 174 ]) |
598
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
175 |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
176 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
177 echo $PACKAGE $VERSION |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
178 |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
179 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
180 echo Build with GNOME bits...... : $enable_gnome |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
181 echo Build as GNOME applet...... : $enable_panel |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
182 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
183 echo Build with Plugin support.. : $enable_plugins |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
184 echo Build with Perl support.... : $enable_perl |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
185 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
186 echo Build with ESD............. : $enable_esd |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
187 echo Build with NAS............. : $enable_nas |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
188 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
189 echo Print debugging messages... : $enable_debug |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
190 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
191 echo Gaim will be installed in $prefix/bin. |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
192 if test "x$gaimpath" != "x" ; then |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
193 echo Warning: You have an old copy of gaim at $gaimpath. |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
194 fi |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
195 echo |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
196 echo configure complete, now type \'make\' |
c763eeec336f
[gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
565
diff
changeset
|
197 echo |