annotate configure.in @ 823:536931b5109b

[gaim-migrate @ 833] la la la committer: Tailor Script <tailor@pidgin.im>
author Todd Kulesza <fflewddur>
date Fri, 01 Sep 2000 15:30:43 +0000
parents 2c0a7d245bd2
children 557a4a9cda3f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
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)
510
dab0c611029e [gaim-migrate @ 520]
Rob Flynn <gaim@robflynn.com>
parents: 498
diff changeset
4 AM_INIT_AUTOMAKE([gaim], [0.10.0])
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
5
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
6 dnl Checks for programs.
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
7 AM_PROG_LIBTOOL
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
8 AC_PROG_CC
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
9 AC_PROG_INSTALL
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
10
419
e2610cc1fcb3 [gaim-migrate @ 429]
Rob Flynn <gaim@robflynn.com>
parents: 418
diff changeset
11 ALL_LINGUAS="de fr es zh_CN ko"
347
d64101dc5c7e [gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 338
diff changeset
12 AM_GNU_GETTEXT
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
13
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
14 AC_CYGWIN
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
15
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
16
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
17 dnl Checks for header files.
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
18 AC_HEADER_STDC
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
19 AC_HEADER_SYS_WAIT
614
a3e32af35b30 [gaim-migrate @ 624]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 606
diff changeset
20 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
21 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
22
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
23 dnl Checks for typedefs, structures, and compiler characteristics.
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
24 AC_C_CONST
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
25 AC_STRUCT_TM
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
26
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
27 dnl Checks for library functions.
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
28 AC_TYPE_SIGNAL
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
29 AC_FUNC_STRFTIME
640
2c0a7d245bd2 [gaim-migrate @ 650]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 614
diff changeset
30 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
31
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
32 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
33 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../"
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
34
547
8086ed233742 [gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 529
diff changeset
35 AC_ARG_ENABLE(distrib,,,enable_distrib=no)
8086ed233742 [gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 529
diff changeset
36 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes")
598
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
37 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
38 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
39 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes")
553
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
40 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
41 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no)
174
a09fabd11900 [gaim-migrate @ 184]
Rob Flynn <gaim@robflynn.com>
parents: 172
diff changeset
42 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
43 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
44 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
45 AM_CONDITIONAL(PLUGINS, test x$enable_plugins = xyes)
547
8086ed233742 [gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 529
diff changeset
46 AC_ARG_ENABLE(,,,)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
47
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
48 if test "$enable_debug" = yes ; then
402
943248245f32 [gaim-migrate @ 412]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 386
diff changeset
49 CFLAGS="$CFLAGS -Wall -g"
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
50 AC_DEFINE(DEBUG)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
51 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
52
450
e1c09b8c8bb1 [gaim-migrate @ 460]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 423
diff changeset
53 CFLAGS="$CFLAGS -I../libfaim -I../libfaim/faim"
423
0d4e80bdb96b [gaim-migrate @ 433]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 419
diff changeset
54 LDADD="$LDADD -L../libfaim -lfaim -pthread"
216
f7e17fb767eb [gaim-migrate @ 226]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 215
diff changeset
55
529
e6ba7ab7c349 [gaim-migrate @ 539]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 510
diff changeset
56 if test "x$enable_gnome" = "xyes" ; then
598
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
57 if test "x$enable_panel" = "xyes" ; then
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
58 GNOME_INIT(gnomeui applets)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
59 GNOME_X_CHECKS
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
60 CFLAGS="$CFLAGS $GNOME_INCLUDEDIR"
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
61 AC_DEFINE(USE_APPLET)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
62 AC_DEFINE(USE_GNOME)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
63 LIBS="$LIBS $GTK_LIBS $GNOME_LIBDIR $GNOME_APPLETS_LIBS $GNOMEUI_LIBS"
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
64 AC_PATH_PROG(gaimpath, gaim_applet)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
65 else
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
66 AC_PATH_PROG(gnomepath, gnome-config)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
67 AC_MSG_CHECKING(for Gnome compile flags)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
68 GNOME_CFLAGS=`$gnomepath gnomeui --cflags 2>/dev/null`
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
69 if test "x$GNOME_CFLAGS" = "x" ; then
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
70 enable_gnome=no
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
71 AC_MSG_RESULT([Gnome not found, building without it.])
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
72 else
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
73 GNOME_VER=`$gnomepath --version |$sedpath 's/gnome-libs //' 2>/dev/null`
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
74 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
75 if test "x$GNOME_MAJOR" = "x0" ; then
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
76 enable_gnome = no
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
77 AC_MSG_RESULT([old Gnome found, building without it.])
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
78 else
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
79 AC_MSG_RESULT(ok)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
80 CFLAGS="$CFLAGS $GNOME_CFLAGS"
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
81 LIBS="$LIBS `$gnomepath gnomeui --libs 2>/dev/null`"
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
82 AC_DEFINE(USE_GNOME)
606
eaab8abda2c0 [gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 598
diff changeset
83 GNOME_CONFIG="$gnomepath"
eaab8abda2c0 [gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 598
diff changeset
84 AC_SUBST(GNOME_CONFIG)
598
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
85 AC_PATH_PROG(gaimpath, gaim)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
86 fi
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
87 fi
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
606
eaab8abda2c0 [gaim-migrate @ 616]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 598
diff changeset
90 AM_CONDITIONAL(GNOMEBITS, test "x$enable_gnome" = "xyes")
598
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
91
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
92 if test "x$enable_gnome" != "xyes" ; then
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
93 AM_PATH_GLIB(1.2.0)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
94 AM_PATH_GTK(1.2.0,,,gthread)
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
95 LIBS="$LIBS $GTK_LIBS"
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
96 AC_PATH_PROG(gaimpath, gaim)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
97 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
98
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
99 CFLAGS="$CFLAGS $GTK_CFLAGS"
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
100
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
101 if test "$enable_plugins" = yes ; then
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
102 AC_DEFINE(GAIM_PLUGINS)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
103 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
104
553
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
105 dnl This was taken straight from X-Chat.
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
106 dnl X-Chat is the greatest application ever, not only
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
107 dnl because it's a rocking IRC client but also because
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
108 dnl it's very easy to learn from.
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
109 if test "$enable_perl" = yes ; then
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
110 AC_PATH_PROG(sedpath, sed)
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
111 AC_PATH_PROG(perlpath, perl)
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
112 AC_MSG_CHECKING(for Perl compile flags)
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
113 PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null`
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
114 if test "_$PERL_CFLAGS" = _ ; then
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
115 AC_MSG_RESULT([not found, building without perl.])
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
116 enable_perl = no
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
117 else
565
7209b474bdc3 [gaim-migrate @ 575]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 553
diff changeset
118 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
119 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-ldb //'`
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
120 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lndbm //'`
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
121 if test "$system" = "Linux"; then
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
122 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lnsl //'`
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
123 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lposix //'`
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
124 fi
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
125 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lc //'`
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
126 AC_MSG_RESULT(ok)
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
127 CFLAGS="$CFLAGS $PERL_CFLAGS"
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
128 LIBS="$LIBS $PERL_LDFLAGS"
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
129 AC_DEFINE(USE_PERL)
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
130 AC_CHECK_FUNCS(Perl_eval_pv)
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
131 fi
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
132 fi
8cff36d54643 [gaim-migrate @ 563]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 547
diff changeset
133
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
134 if test "$enable_nas" = yes ; then
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
135 AC_DEFINE(NAS_SOUND)
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
136 LIBS="$LIBS -laudio"
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
137 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
138
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
139 if test "$enable_esd" = yes ; then
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
140 AM_PATH_GESD
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
141 if test "$no_esd" != yes ; then
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
142 CFLAGS="$CFLAGS $ESD_CFLAGS"
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
143 AC_DEFINE(ESD_SOUND)
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
144 LDADD="$LDADD $ESD_LIBS"
598
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
145 else
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
146 enable_esd = no
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
147 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
148 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
149
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
150 if test "$ac_cv_cygwin" = yes ; then
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
151 LDADD="$LDADD -static"
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
152 CFLAGS="$CFLAGS -Wall -g"
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
153 AC_DEFINE(DEBUG)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
154 fi
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
155
349
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
156 AC_SUBST(CFLAGS)
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
157 AC_SUBST(LDADD)
b402a23f35df [gaim-migrate @ 359]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 347
diff changeset
158 AC_SUBST(LIBS)
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
159 AC_SUBST(LIBFAIM_DO)
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
160
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
161 AC_OUTPUT([Makefile
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
162 src/Makefile
347
d64101dc5c7e [gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 338
diff changeset
163 intl/Makefile
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
164 sounds/Makefile
172
450d62d40185 [gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 170
diff changeset
165 plugins/Makefile
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
166 pixmaps/Makefile
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
167 libfaim/Makefile
347
d64101dc5c7e [gaim-migrate @ 357]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 338
diff changeset
168 po/Makefile.in
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
169 doc/Makefile
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
170 m4/Makefile
322
8ed366802f2e [gaim-migrate @ 332]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 299
diff changeset
171 gaim.spec
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
172 ])
598
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
173
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
174 echo
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
175 echo $PACKAGE $VERSION
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
176
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
177 echo
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
178 echo Build with GNOME bits...... : $enable_gnome
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
179 echo Build as GNOME applet...... : $enable_panel
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
180 echo
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
181 echo Build with Plugin support.. : $enable_plugins
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
182 echo Build with Perl support.... : $enable_perl
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
183 echo
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
184 echo Build with ESD............. : $enable_esd
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
185 echo Build with NAS............. : $enable_nas
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
186 echo
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
187 echo Print debugging messages... : $enable_debug
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 Gaim will be installed in $prefix/bin.
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
190 if test "x$gaimpath" != "x" ; then
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
191 echo Warning: You have an old copy of gaim at $gaimpath.
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
192 fi
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
193 echo
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
194 echo configure complete, now type \'make\'
c763eeec336f [gaim-migrate @ 608]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 565
diff changeset
195 echo