Skip to content
Newer
Older
100644 817 lines (705 sloc) 24.2 KB
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
1 dnl Process this file with autoconf to produce a configure script.
2
348ad97 === Bump to 2.6.6 ===
zed authored Jul 18, 2006
3 AC_INIT([XChat],[2.6.6],[http://www.xchat.org/],[xchat])
bf0ae2c * Update Automake & Autoconf macros (Brian Pepple).
zed authored May 22, 2006
4
5 AC_PREREQ([2.59])
6 AC_COPYRIGHT([Copyright (C) 1998-2006 Peter Zelezny])
7
8 AC_CONFIG_HEADERS([config.h])
9 AC_CONFIG_SRCDIR([configure.in])
10
11 AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects no-define])
12
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
13 AM_MAINTAINER_MODE
14 AC_PROG_CC
bf0ae2c * Update Automake & Autoconf macros (Brian Pepple).
zed authored May 22, 2006
15 AM_PROG_CC_C_O
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
16 AC_PROG_CPP
17 AM_PROG_AS
18 AM_DISABLE_STATIC
bf0ae2c * Update Automake & Autoconf macros (Brian Pepple).
zed authored May 22, 2006
19 AC_PROG_LIBTOOL
20
21 dnl -----------------------------------------------------------
22 dnl Language Support
23 dnl -----------------------------------------------------------
24 GETTEXT_PACKAGE=xchat
25 AC_SUBST(GETTEXT_PACKAGE)
26 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
27
f1ecc43 * faq.html: s/pidentd/oidentd.
zed authored May 6, 2006
28 ALL_LINGUAS="de el es fi fr gl hu ja ko nl pa sq sr sv vi zh_TW"
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
29 AM_GNU_GETTEXT
30
7bfa0b1 *** empty log message ***
zed authored Feb 13, 2003
31 dnl displaced from acconfig.h
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
32 AH_VERBATIM([OLD_PERL],[#undef OLD_PERL])
33 AH_VERBATIM([PREFIX],[#undef PREFIX])
700f097 configure.in: Add new config.h entries: XCHATLIBDIR, XCHATSHAREDIR.
zed authored Nov 29, 2004
34 AH_VERBATIM([XCHATLIBDIR],[#undef XCHATLIBDIR])
35 AH_VERBATIM([XCHATSHAREDIR],[#undef XCHATSHAREDIR])
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
36 AH_VERBATIM([SOCKS],[#undef SOCKS])
3b85d85 Add support for MS Proxy (ISA server) via libntlm (Pavel Fedin).
zed authored Apr 16, 2006
37 AH_VERBATIM([USE_MSPROXY],[#undef USE_MSPROXY])
db81110 configure.in: Add sr to ALL_LINGUAS. Comment out gnome.
zed authored Nov 27, 2003
38 dnl AH_VERBATIM([USE_GNOME],[#undef USE_GNOME])
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
39 AH_VERBATIM([USE_SHM],[#undef USE_SHM])
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
40 AH_VERBATIM([USE_GTKSPELL],[#undef USE_GTKSPELL])
d428035 New configure option:
zed authored Jul 15, 2006
41 AH_VERBATIM([USE_LIBSEXY],[#undef USE_LIBSEXY])
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
42 AH_VERBATIM([USE_IPV6],[#undef USE_IPV6])
43 AH_VERBATIM([USE_MMX],[#undef USE_MMX])
44 AH_VERBATIM([USE_OPENSSL],[#undef USE_OPENSSL])
45 AH_VERBATIM([USE_PLUGIN],[#undef USE_PLUGIN])
46 AH_VERBATIM([USE_XFT],[#undef USE_XFT])
47 AH_VERBATIM([USE_XLIB],[#undef USE_XLIB])
55ab1ef Checked in rehashed po files.
zed authored Jan 1, 2004
48 AH_VERBATIM([USE_SIGACTION],[#undef USE_SIGACTION])
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
49 AH_VERBATIM([USING_FREEBSD],[#undef USING_FREEBSD])
50 AH_VERBATIM([USING_LINUX],[#undef USING_LINUX])
51 AH_VERBATIM([socklen_t],[#undef socklen_t])
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
52 AH_VERBATIM([USE_DBUS],[#undef USE_DBUS])
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
53
54 AC_PATH_PROG(sedpath, sed)
55 if test "_$sedpath" = _; then
56 AC_MSG_ERROR("Cannot find sed: I need it\!")
57 fi
58
59 AC_PATH_PROG(unamepath, uname)
60 if test "_$unamepath" = _; then
61 system="unknown"
62 else
63 AC_MSG_CHECKING(system type)
64 system=`$unamepath -s`
65 AC_MSG_RESULT($system)
66 if test "$system" = "Linux"; then
67 AC_DEFINE(USING_LINUX)
68 fi
69 if test "$system" = "FreeBSD"; then
70 AC_DEFINE(USING_FREEBSD)
71 fi
72 fi
73
74 dnl *********************************************************************
75 dnl ** configure switches ***********************************************
76 dnl *********************************************************************
77
78 AC_ARG_ENABLE(socks,
9534a45 servlist.c: Remove AbleNET, IRCDZone. Add insiderZ.DE, ChatSociety. U…
zed authored Feb 2, 2005
79 [ --enable-socks link with SOCKS5 library (default: no)],
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
80 socks=$enableval, socks=no)
81
82 AC_ARG_ENABLE(ipv6,
83 [ --enable-ipv6 enable IPv6 (default: no)],
84 ipv6=$enableval, ipv6=no)
85
5b1af9a *** empty log message ***
zed authored Dec 14, 2002
86 AC_ARG_ENABLE(xft,
87 [ --enable-xft enable use of Xft directly (default: no)],
88 xft=$enableval, xft=no)
89
debc48d *** empty log message ***
zed authored Dec 9, 2002
90 AC_ARG_ENABLE(openssl,
91 [ --enable-openssl[=PATH] enable use of openSSL],
92 openssl=$enableval, openssl=yes)
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
93
94 AC_ARG_ENABLE(gtkfe,
95 [ --disable-gtkfe disable building gtk frontend],
96 gtkfe=$enableval, gtkfe=yes)
97
98 AC_ARG_ENABLE(textfe,
710d0b9 add Comment[lt]. textfe off by default.
zed authored Jul 28, 2003
99 [ --enable-textfe build the text frontend (default: no)],
100 textfe=$enableval, textfe=no)
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
101
7bfa0b1 *** empty log message ***
zed authored Feb 13, 2003
102 dnl AC_ARG_ENABLE(gnome,
103 dnl [ --disable-gnome disable use of gnome],
104 dnl gnome=$enableval, gnome=yes)
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
105
106 AC_ARG_ENABLE(xlib,
107 [ --disable-xlib disable use of xlib (for non X11 systems)],
108 xlib=$enableval, xlib=yes)
109
110 AC_ARG_ENABLE(python,
111 [ --disable-python don't build the python plugin],
112 python=$enableval, python=yes)
113
114 AC_ARG_ENABLE(perl,
115 [ --disable-perl don't build the perl plugin],
116 perl=$enableval, perl=yes)
117
9c9c650 Brand new Perl plugin! (Lian Situ).
zed authored Jan 14, 2004
118 AC_ARG_ENABLE(perl_old,
119 [ --disable-perl_old no backwards compatibility for perl plugin],
120 perl_old=$enableval, perl_old=yes)
121
1749e1b improve tcl detection
zed authored Jan 22, 2003
122 AC_ARG_ENABLE(tcl,
123 [ --enable-tcl[=PATH] directory with Tcl config file: tclConfig.sh],
124 tcl=$enableval, tcl=yes)
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
125
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
126 AC_ARG_ENABLE(plugin,
127 [ --disable-plugin disable plugin support],
128 plugin=$enableval, plugin=yes)
129
d796506 - Add xchat-remote and dbus plugin (Claessens Xavier). Currently requ…
zed authored Oct 12, 2005
130 AC_ARG_ENABLE(dbus,
351d785 dbus support default to yes so configure option is --disable-dbus
zdra authored Oct 12, 2005
131 [ --disable-dbus disable DBUS support],
d796506 - Add xchat-remote and dbus plugin (Claessens Xavier). Currently requ…
zed authored Oct 12, 2005
132 dbus=$enableval, dbus=yes)
133
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
134 AC_ARG_ENABLE(mmx,
135 [ --disable-mmx disable MMX assembly routines],
136 mmx=$enableval, mmx=yes)
137
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
138 AC_ARG_ENABLE(shm,
139 [ --enable-shm enable use of XShm for fast tinting (default: no)],
140 shm=$enableval, shm=no)
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
141
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
142 AC_ARG_ENABLE(spell,
d428035 New configure option:
zed authored Jul 15, 2006
143 [ --enable-spell=type enable spelling type: none static libsexy gtkspell],
144 spell=$enableval, spell=libsexy)
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
145
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
146 dnl *********************************************************************
147 dnl ** GLIB *************************************************************
148 dnl *********************************************************************
149
150 AM_PATH_GLIB_2_0(2.0.3, glib=yes, glib=no)
151 if test "$glib" = no; then
152 AC_MSG_ERROR("Cannot find glib")
153 fi
154
155 COMMON_CFLAGS="$GLIB_CFLAGS"
156 COMMON_LIBS="$GLIB_LIBS"
157
158 dnl *********************************************************************
159 dnl ** GTK **************************************************************
160 dnl *********************************************************************
161
01195f8 Bump to 2.5.0dev, require gtk 2.6.
zed authored Sep 23, 2005
162 AM_PATH_GTK_2_0(2.6.0, havegtk=yes, havegtk=no)
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
163
164 if test "$havegtk" = no; then
165 gtkfe=no
166 echo
167 echo Cannot find GTK\! Not building GTK FrontEnd.
168 echo
169 fi
170
171 if test "$gtkfe" != yes; then
172 gnome=no
173 COMMON_LIBS="$GLIB_LIBS"
174 COMMON_CFLAGS="$GLIB_CFLAGS"
175 fi
176
177 dnl *********************************************************************
178 dnl ** GNOME ************************************************************
179 dnl *********************************************************************
180
459e6a4 *** empty log message ***
zed authored Dec 26, 2002
181 GUI_LIBS="$GUI_LIBS $GTK_LIBS"
182 GUI_CFLAGS="$GUI_CFLAGS $GTK_CFLAGS"
183
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
184 gnome=no
4247ca2 *** empty log message ***
zed authored Feb 9, 2003
185 #if test "$gnome" = yes; then
186 # AC_PATH_PROG(pkgconfigpath, pkg-config)
187 # AC_MSG_CHECKING(Gnome2 compile flags)
188 # GNOME_CFLAGS="`$pkgconfigpath libgnome-2.0 --cflags 2>/dev/null`"
189 # if test "_$GNOME_CFLAGS" = _ ; then
190 # gnome=no
191 # AC_MSG_RESULT([Gnome not found, building without it.])
192 # else
193 # GNOME_VER="`$pkgconfigpath libgnome-2.0 --modversion`"
194 # GUI_LIBS="$GUI_LIBS `$pkgconfigpath libgnome-2.0 --libs`"
195 # GUI_CFLAGS="$GUI_CFLAGS $GNOME_CFLAGS"
196 # AC_DEFINE(USE_GNOME)
197 # AC_MSG_RESULT(ok)
198 # fi
199 #fi
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
200
75f552d Install GConf keys to handle irc:// protocol in gnome
zdra authored Oct 27, 2005
201 # GConf
202 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
203
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
204 dnl *********************************************************************
523ced2 text/plugin: Make unused args for print events NULL (previously only …
zed authored Sep 21, 2003
205 dnl ** XFT **************************************************************
206 dnl *********************************************************************
207
208 if test "$xft" = yes; then
209 AC_PATH_PROG(pkgconfigpath, pkg-config)
210 if $pkgconfigpath xft --exists; then
211 GUI_CFLAGS="$GUI_CFLAGS `$pkgconfigpath xft --cflags`"
212 GUI_LIBS="$GUI_LIBS `$pkgconfigpath xft --libs`"
213 else
214 xft=no
215 oldCPPFLAGS=$CPPFLAGS
216 CPPFLAGS="$CPPFLAGS $GTK_CFLAGS"
217 AC_CHECK_HEADERS(X11/Xft/Xft.h, xft=yes)
218 CPPFLAGS=$oldCPPFLAGS
219 fi
220 if test "$xft" = yes; then
221 AC_DEFINE(USE_XFT)
222 fi
223 fi
224
225 dnl *********************************************************************
747557b Solaris changes: add "-L/usr/openwin/lib -lX11" and check libsocket b…
zed authored Jul 5, 2003
226 dnl ** XLIB *************************************************************
227 dnl *********************************************************************
228
229 if test "$xlib" = yes; then
230 AC_DEFINE(USE_XLIB)
231 if test "$system" = "SunOS"; then
232 LIBS="$LIBS -L/usr/openwin/lib -lX11"
233 fi
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
234 else
235 shm=no
747557b Solaris changes: add "-L/usr/openwin/lib -lX11" and check libsocket b…
zed authored Jul 5, 2003
236 fi
237
238 dnl *********************************************************************
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
239 dnl ** PERL *************************************************************
240 dnl *********************************************************************
241
242 if test "$perl" = yes; then
243 AC_PATH_PROG(perlpath, perl)
244 AC_MSG_CHECKING(for Perl compile flags)
245 PERL_CFLAGS=`$perlpath -MExtUtils::Embed -e ccopts 2>/dev/null`
246 if test "_$PERL_CFLAGS" = _ ; then
247 AC_MSG_RESULT([not found, building without perl.])
248 perl=no
249 else
250 PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts |$sedpath 's/-lgdbm //'`
251 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-ldb //'`
252 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lndbm //'`
253 if test "$system" = "Linux"; then
254 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lnsl //'`
255 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lposix //'`
256 fi
257 PERL_LDFLAGS=`echo $PERL_LDFLAGS |$sedpath 's/-lc //'`
258 AC_MSG_RESULT(ok)
259
9c9c650 Brand new Perl plugin! (Lian Situ).
zed authored Jan 14, 2004
260 # oldLIBS=$LIBS
261 # LIBS="$LIBS $PERL_LDFLAGS"
262 # AC_CHECK_FUNC(eval_pv)
263 # AC_CHECK_FUNC(call_pv)
264 # LIBS=$oldLIBS
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
265
4cf6f21 configure.in: Require perl 5.8.0, as 5.6.x tends to crash in newCONST…
zed authored Jul 25, 2004
266 AC_MSG_CHECKING(for perl >= 5.8.0)
267 PERL_VER=`$perlpath -e 'print $]>= 5.008?"yes":"no"'`
9c9c650 Brand new Perl plugin! (Lian Situ).
zed authored Jan 14, 2004
268 if test "$PERL_VER" = "yes"; then
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
269 AC_MSG_RESULT(yes)
9c9c650 Brand new Perl plugin! (Lian Situ).
zed authored Jan 14, 2004
270 AC_MSG_CHECKING(if perl plugin will be backward compatible)
271 if test "$perl_old" = "yes"; then
272 AC_MSG_RESULT(yes)
273 AC_DEFINE(OLD_PERL)
274 else
275 AC_MSG_RESULT(no)
276 fi
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
277 else
278 AC_MSG_RESULT(no)
9c9c650 Brand new Perl plugin! (Lian Situ).
zed authored Jan 14, 2004
279 echo "perl version too old, building without perl."
280 perl=no
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
281 fi
282 fi
283 fi
284
285 dnl *********************************************************************
286 dnl ** PYTHON ***********************************************************
287 dnl *********************************************************************
288
289 if test "$python" = yes; then
84a0b26 *** empty log message ***
zed authored Jan 28, 2003
290 AC_PATH_PROG(pythonpath, python2)
291 if test "_$pythonpath" = _ ; then
292 AC_PATH_PROG(pythonpath, python)
293 fi
294 if test "_$pythonpath" = _ ; then
295 python=no
296 else
297 AC_MSG_CHECKING(Python version)
298 changequote(<<, >>)dnl
dfa1b1e Patch python checks [781333].
zed authored Aug 1, 2003
299 PY_VER=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("VERSION")[0];'`
fbf6750 configure.in: python amd64 suse configure.in patch (Mads Martin Joerg…
zed authored Oct 4, 2003
300 PY_LIB=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1);'`
dfa1b1e Patch python checks [781333].
zed authored Aug 1, 2003
301 PY_INC=`$pythonpath -c 'import distutils.sysconfig; print distutils.sysconfig.get_config_vars("INCLUDEPY")[0];'`
84a0b26 *** empty log message ***
zed authored Jan 28, 2003
302 $pythonpath -c "import sys; map(int,sys.version[:3].split('.')) >= [2,2] or sys.exit(1)"
303 changequote([, ])dnl
dfa1b1e Patch python checks [781333].
zed authored Aug 1, 2003
304 AC_MSG_RESULT($PY_VER)
84a0b26 *** empty log message ***
zed authored Jan 28, 2003
305 if test "$?" != "1"; then
306 AC_MSG_CHECKING(Python compile flags)
307 PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'`
308 PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'`
dfa1b1e Patch python checks [781333].
zed authored Aug 1, 2003
309 if test -f $PY_INC/Python.h; then
310 PY_LIBS="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
311 PY_CFLAGS="-I$PY_INC"
84a0b26 *** empty log message ***
zed authored Jan 28, 2003
312 AC_MSG_RESULT(ok)
313 else
314 python=no
315 AC_MSG_RESULT([Can't find Python.h])
316 fi
317 else
318 echo "Python too old. Only 2.2 or above is supported."
319 python=no
320 fi
321 fi
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
322 fi
323
324 dnl *********************************************************************
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
325 dnl ** TCL **************************************************************
326 dnl *********************************************************************
327
328 AC_MSG_CHECKING(for location of tclConfig.sh)
1749e1b improve tcl detection
zed authored Jan 22, 2003
329 dirs="$tcl /lib /usr/lib /usr/tcl/lib /usr/local/lib /usr/local/tcl-8.4/lib /usr/local/tcl/lib /opt/lib"
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
330 found=0
1749e1b improve tcl detection
zed authored Jan 22, 2003
331 if test "$tcl" != "no"; then
332 tcl=no
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
333 for try in $dirs; do
334 if test -f $try/tclConfig.sh; then
335 found=1
336 . $try/tclConfig.sh
337 TCL_LIBS="$TCL_LIB_SPEC $TCL_LIBS"
158c280 more tcl tweaks II
zed authored Jan 23, 2003
338 TCL_CFLAGS="-I${TCL_PREFIX}/include $TCL_INCLUDE_SPEC"
339 tcl=yes
340 AC_MSG_RESULT($try/tclConfig.sh)
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
341 break
342 fi
343 done
344 if test "$found" -eq 0 ; then
345 AC_MSG_RESULT([tclConfig.sh not found - use the --enable-tcl option])
346 fi
347 fi
348
349 dnl *********************************************************************
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
350 dnl ** IPv6 *************************************************************
351 dnl *********************************************************************
352
4fb6120 check libsocket before getaddrinfo (might fix ipv6 build on solaris).
zed authored Jul 4, 2003
353 dnl purely for Solaris
354 AC_CHECK_FUNC(select, ,
355 AC_CHECK_LIB(socket, select, ,
356 AC_CHECK_LIB(nsl, select, ,
357 AC_CHECK_LIB(inet, select, ,
358 AC_CHECK_LIB(cposix, select, ,
359 AC_CHECK_LIB(net, select, ,
360 AC_MSG_WARN(i can not find select. you might need to help me)))))))
747557b Solaris changes: add "-L/usr/openwin/lib -lX11" and check libsocket b…
zed authored Jul 5, 2003
361 AC_CHECK_LIB(socket, select)
4fb6120 check libsocket before getaddrinfo (might fix ipv6 build on solaris).
zed authored Jul 4, 2003
362
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
363 if test "$ipv6" = yes; then
364 AC_CHECK_FUNCS(getaddrinfo, have_getaddrinfo=yes)
365 AC_MSG_CHECKING(whether to enable IPv6 support)
366 if test "$have_getaddrinfo" = yes; then
367 AC_MSG_RESULT(yes)
368 AC_DEFINE(USE_IPV6)
369 else
370 ipv6=no
371 AC_MSG_RESULT(no)
372 fi
373 fi
374
375 dnl *********************************************************************
376 dnl ** OPENSSL **********************************************************
377 dnl *********************************************************************
378
08db2b6 Try pkg-config to find openssl.
zed authored Jan 21, 2003
379 retry=no
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
380 if test "$openssl" != no; then
08db2b6 Try pkg-config to find openssl.
zed authored Jan 21, 2003
381 AC_PATH_PROG(pkgconfigpath, pkg-config)
382 AC_MSG_CHECKING(for openssl through pkg-config)
383 if $pkgconfigpath openssl --exists; then
384 CPPFLAGS="$CPPFLAGS `$pkgconfigpath openssl --cflags`"
385 LIBS="$LIBS `$pkgconfigpath openssl --libs`"
386 AC_DEFINE(USE_OPENSSL)
387 AC_MSG_RESULT(yes)
388 openssl=yes
389 else
390 AC_MSG_RESULT(no)
391 retry=yes
392 fi
393 fi
394
395 if test "$retry" = "yes"; then
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
396 unset openssl_path ac_cv_lib_ssl_SSL_new ac_cv_header_openssl_ssl_h
397 if test "$openssl" != yes; then
398 openssl_path=$openssl
399 fi
400 openssl=no
401 SAVED_LIBS=$LIBS
402 LIBS="$LIBS -lcrypto"
403 if test -n "$openssl_path"; then
404 LIBS="-L$openssl_path/lib $LIBS"
405 fi
406 AC_CHECK_LIB(ssl, SSL_new, have_openssl=yes)
407 LIBS=$SAVED_LIBS
408 if test "$have_openssl" = yes; then
409 SAVED_CPPFLAGS=$CPPFLAGS
410 if test -n "$openssl_path"; then
411 CPPFLAGS="-I$openssl_path/include $CPPFLAGS"
412 fi
413 AC_CHECK_HEADERS(openssl/ssl.h, have_openssl_h=yes)
414 if test "$have_openssl_h" = yes; then
415 openssl=yes
416 AC_DEFINE(USE_OPENSSL)
417 LIBS="$LIBS -lssl -lcrypto"
418 if test -n "$openssl_path"; then
419 LIBS="-L$openssl_path/lib $LIBS"
420 fi
421 else
422 CPPFLAGS=$SAVED_CPPFLAGS
423 fi
424 fi
425 fi
426
427 dnl *********************************************************************
428 dnl ** PLUGIN ***********************************************************
429 dnl *********************************************************************
430
431 if test "$plugin" = yes; then
432 AC_CHECK_FUNCS(dlopen, have_dl=yes)
433 if test "$have_dl" != yes; then
434 AC_CHECK_LIB(dl, dlopen, have_dl=yes)
435 if test "$have_dl" = yes; then
436 LIBS="$LIBS -ldl"
437 fi
438 fi
439 if test "$have_dl" = yes; then
440 AC_DEFINE(USE_PLUGIN)
94c42d0 fix plugin loading on solaris with -Wl,--export-dynamic
zed authored Feb 8, 2003
441 AC_PATH_PROG(pkgconfigpath, pkg-config)
7bfa0b1 *** empty log message ***
zed authored Feb 13, 2003
442 dnl we just need the -Wl,--export-dynamic, but not -lgmodule-2.0
94c42d0 fix plugin loading on solaris with -Wl,--export-dynamic
zed authored Feb 8, 2003
443 RDYNAMIC_FLAGS="`$pkgconfigpath gmodule-2.0 --libs | $sedpath 's/ -lgmodule-2.0//'`"
444 LIBS="$LIBS $RDYNAMIC_FLAGS"
8b8c626 Fix build when ld is overridden with $LD variable to use a non-GNU ld…
zed authored Apr 6, 2006
445 if test "$LD" = ""; then
446 VS="`ld --help | grep version-script 2> /dev/null`"
447 else
448 VS="`$LD --help | grep version-script 2> /dev/null`"
449 fi
7bfa0b1 *** empty log message ***
zed authored Feb 13, 2003
450 if test "$VS" != ""; then
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
451 GUI_LIBS="$GUI_LIBS -Wl,--version-script,\$(srcdir)/../version-script"
452 fi
453 else
454 plugin=no
455 fi
456 fi
457
d796506 - Add xchat-remote and dbus plugin (Claessens Xavier). Currently requ…
zed authored Oct 12, 2005
458 dnl #######################################################################
459 dnl # Check for DBUS libraries
460 dnl #######################################################################
461
462 if test "x$dbus" = "xyes" ; then
01d25be GnomeVFS >=2.15 uses D-Bus and threads, so threads should be initialised
zdra authored Aug 5, 2006
463 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.60 dbus-glib-1 >= 0.60 gthread-2.0], dbus=yes, [
b4b1b44 - fix configure.in if dbus-binding-tool and glib-genmarshal are present
zdra authored Jul 31, 2006
464 AC_MSG_RESULT(no)
465 dbus=no
466 ])
f342b17 Apply some changes made by xchat-gnome.
zdra authored Dec 8, 2005
467 AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool, no)
468 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)
b4b1b44 - fix configure.in if dbus-binding-tool and glib-genmarshal are present
zdra authored Jul 31, 2006
469 if test "x$DBUS_BINDING_TOOL" = "xno" || test "x$GLIB_GENMARSHAL" = "xno" || test "x$dbus" = "xno" ; then
f342b17 Apply some changes made by xchat-gnome.
zdra authored Dec 8, 2005
470 dbus="no"
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
471 else
472 COMMON_LIBS="$COMMON_LIBS $DBUS_LIBS"
473 COMMON_CFLAGS="$COMMON_CFLAGS $DBUS_CFLAGS"
474 AC_DEFINE(USE_DBUS)
562c8ba - xchat-remote removed. We can now use "xchat --existing --url=<url>…
zdra authored Jul 29, 2006
475 AS_AC_EXPAND(DATADIR, $datadir)
476
477 DBUS_SERVICES_DIR="$DATADIR/dbus-1/services"
478 AC_SUBST(DBUS_SERVICES_DIR)
479 AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Where services dir for DBUS is])
f342b17 Apply some changes made by xchat-gnome.
zdra authored Dec 8, 2005
480 fi
d796506 - Add xchat-remote and dbus plugin (Claessens Xavier). Currently requ…
zed authored Oct 12, 2005
481 fi
482
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
483 dnl *********************************************************************
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
484 dnl ** SPELL ************************************************************
485 dnl *********************************************************************
486
d428035 New configure option:
zed authored Jul 15, 2006
487 if test "$spell" = "gtkspell" ; then
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
488 PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, [], [
489 AC_MSG_RESULT(no)
490 spell=no
491 ])
d428035 New configure option:
zed authored Jul 15, 2006
492 if test "$spell" != "no" ; then
493 GUI_LIBS="$GUI_LIBS $GTKSPELL_LIBS"
494 GUI_CFLAGS="$GUI_CFLAGS $GTKSPELL_CFLAGS"
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
495 AC_DEFINE(USE_GTKSPELL)
496 fi
497 fi
498
d428035 New configure option:
zed authored Jul 15, 2006
499 if test "$spell" = "libsexy" ; then
500 PKG_CHECK_MODULES([LIBSEXY], [libsexy >= 0.1.8], libsexy=yes, AC_MSG_RESULT(no))
501 if test "$libsexy" = "yes" ; then
502 GUI_LIBS="$GUI_LIBS $LIBSEXY_LIBS"
503 GUI_CFLAGS="$GUI_CFLAGS $LIBSEXY_CFLAGS"
504 AC_DEFINE(USE_LIBSEXY)
505 else
506 dnl use builtin static one
507 spell="static"
508 fi
509 fi
510
511 if test "$spell" = "static" ; then
512 AC_DEFINE(USE_LIBSEXY)
513 fi
9bf8c08 Add (highly buggy) spelling support.
zed authored Apr 6, 2006
514
515 dnl *********************************************************************
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
516 dnl ** CONDITIONALS *****************************************************
517 dnl *********************************************************************
518
519 AM_CONDITIONAL(USE_OPENSSL, test "x$openssl" = "xyes")
d428035 New configure option:
zed authored Jul 15, 2006
520 AM_CONDITIONAL(USE_LIBSEXY, test "x$spell" = "xstatic")
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
521 AM_CONDITIONAL(DO_TEXT, test "x$textfe" = "xyes")
522 AM_CONDITIONAL(DO_GTK, test "x$gtkfe" = "xyes")
523 AM_CONDITIONAL(DO_PERL, test "x$perl" = "xyes")
524 AM_CONDITIONAL(DO_PYTHON, test "x$python" = "xyes")
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
525 AM_CONDITIONAL(DO_TCL, test "x$tcl" = "xyes")
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
526 AM_CONDITIONAL(DO_PLUGIN, test "x$plugin" = "xyes")
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
527 AM_CONDITIONAL(USE_DBUS, test "x$dbus" = "xyes")
047717f avoid fails when build without gconf
zdra authored Oct 28, 2005
528 AM_CONDITIONAL(DO_GCONF, test "x$GCONFTOOL" != "xno")
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
529
530 dnl *********************************************************************
531 dnl ** SOCKS5 ***********************************************************
532 dnl *********************************************************************
533
534 if test "$socks" = yes; then
535 socks=no
536 AC_CHECK_LIB(socks5, SOCKSconnect, have_socks=yes)
537 if test "$have_socks" = yes; then
538 AC_CHECK_HEADERS(socks.h, have_socks_h=yes)
539 if test "$have_socks_h" = yes; then
540 socks=yes
541 AC_DEFINE(SOCKS)
542 LIBS="$LIBS -lsocks5"
543 fi
544 fi
545 fi
546
547 dnl *********************************************************************
3b85d85 Add support for MS Proxy (ISA server) via libntlm (Pavel Fedin).
zed authored Apr 16, 2006
548 dnl ** MS PROXY *********************************************************
549 dnl *********************************************************************
550
551 have_ntlm="no"
552 AC_CHECK_LIB(ntlm, ntlm_smb_encrypt, have_ntlm=yes)
553 if test "$have_ntlm" = yes; then
554 LIBS="$LIBS -lntlm"
555 AC_DEFINE(USE_MSPROXY)
556 fi
557
558 dnl *********************************************************************
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
559 dnl ** XShm *************************************************************
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
560 dnl *********************************************************************
561
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
562 if test "$shm" = yes; then
563 oldl=$LIBS
564 oldc=$CPPFLAGS
565 LIBS="$LIBS `$pkgconfigpath --libs-only-L xft`"
566 CPPFLAGS="$CPPFLAGS `$pkgconfigpath --cflags-only-I xft`"
567 shm=no
568 AC_CHECK_LIB(Xext, XShmAttach, shm=yes)
569 if test "$shm" = yes; then
570 shm=no
571 AC_CHECK_HEADERS(sys/ipc.h, shm=yes)
572 if test "$shm" = yes; then
573 shm=no
574 AC_CHECK_HEADERS(sys/shm.h, shm=yes)
575 fi
576 fi
577
523ced2 text/plugin: Make unused args for print events NULL (previously only …
zed authored Sep 21, 2003
578 LIBS=$oldl
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
579 if test "$shm" = yes; then
fbf6750 configure.in: python amd64 suse configure.in patch (Mads Martin Joerg…
zed authored Oct 4, 2003
580 GUI_LIBS="$GUI_LIBS `$pkgconfigpath --libs-only-L xft` -lX11 -lXext"
c32a1cc xtext: use mit-shm for tinting image.
zed authored Sep 17, 2003
581 AC_DEFINE(USE_SHM)
582 else
583 CPPFLAGS=$oldc
584 fi
585 fi
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
586
587 dnl *********************************************************************
588 dnl ** MMX **************************************************************
589 dnl *********************************************************************
590
591 dnl we don't need mmx on *this* machine, just i386, because
592 dnl it's checked at runtime.
593 if test "$mmx" = "yes"; then
594 case $host_cpu in
595 i386|i486|i586|i686|i786|k6|k7)
596 mmx=yes
597 ;;
598 *)
599 mmx=no
600 esac
7bfa0b1 *** empty log message ***
zed authored Feb 13, 2003
601 if test "$system" = "OpenBSD"; then
602 dnl openbsd fails because mmx_cmod doesn't prefix its symbols with underscore.
603 dnl xtext.o: Undefined symbol `_shade_ximage_15_mmx' referenced from text segment
604 mmx=no
605 fi
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
606 if test "$mmx" = "yes"; then
607 AC_DEFINE(USE_MMX)
608 fi
609 fi
610
611 AM_CONDITIONAL(USE_MMX, test "$mmx" = "yes")
612
613 dnl *********************************************************************
614 dnl ** GCC FLAGS ********************************************************
615 dnl *********************************************************************
616
617 dnl Only use -Wall and -pipe if we have gcc
618 if test "x$GCC" = "xyes"; then
619 if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
620 CFLAGS="$CFLAGS -Wall"
621 fi
622 if test "$system" = "Linux" -o "$system" = "FreeBSD"; then
623 if test -z "`echo "$CFLAGS" | grep "\-pipe" 2> /dev/null`" ; then
624 CFLAGS="$CFLAGS -pipe"
625 fi
626 fi
627 if test -z "`echo "$CFLAGS" | grep "\-g " 2> /dev/null`" ; then
628 CFLAGS="$CFLAGS -g"
629 fi
630 fi
631
e0374f9 --The super dooper bug fix checkin--
zed authored Sep 3, 2005
632 dnl does this compiler support -Wno-pointer-sign ?
0019a09 configure.in: Use -Wno-pointer-sign if possible.
zed authored Jul 13, 2005
633 AC_MSG_CHECKING([if gcc accepts -Wno-pointer-sign ])
634
635 safe_CFLAGS=$CFLAGS
636 CFLAGS="-Wno-pointer-sign"
637
638 AC_TRY_COMPILE(, [
639 int main () { return 0 ; }
640 ],
641 [
642 no_pointer_sign=yes
643 AC_MSG_RESULT([yes])
644 ], [
645 no_pointer_sign=no
646 AC_MSG_RESULT([no])
647 ])
648 CFLAGS=$safe_CFLAGS
649
650 if test x$no_pointer_sign = xyes; then
651 CFLAGS="$CFLAGS -Wno-pointer-sign"
652 fi
653
e0374f9 --The super dooper bug fix checkin--
zed authored Sep 3, 2005
654 dnl does this compiler support -funsigned-char ?
655 AC_MSG_CHECKING([if gcc accepts -funsigned-char ])
656
657 safe_CFLAGS=$CFLAGS
658 CFLAGS="-funsigned-char"
659
660 AC_TRY_COMPILE(, [
661 int main () { return 0 ; }
662 ],
663 [
664 unsigned_char=yes
665 AC_MSG_RESULT([yes])
666 ], [
667 unsigned_char=no
668 AC_MSG_RESULT([no])
669 ])
670 CFLAGS=$safe_CFLAGS
671
672 if test x$unsigned_char = xyes; then
673 CFLAGS="$CFLAGS -funsigned-char"
674 fi
675
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
676 dnl *********************************************************************
677 dnl ** FUNCTIONS/LIBS/CFLAGS ********************************************
678 dnl *********************************************************************
679
55ab1ef Checked in rehashed po files.
zed authored Jan 1, 2004
680 AC_MSG_CHECKING(for modern sigaction)
681 dnl libc5 on linux and FreeBSD 3.x doesn't have siginfo_t
682 dnl and the sa_sigation field.
683 AC_TRY_COMPILE(
684 [#include <signal.h>],
685 [struct sigaction act;
686 siginfo_t *si;
687 act.sa_sigaction = 0;],
688 [
689 AC_MSG_RESULT(yes)
690 AC_DEFINE(USE_SIGACTION)
691 ],
692 AC_MSG_RESULT(no))
693
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
694 AC_PATH_PROG(gdkpixbufcsourcepath, gdk-pixbuf-csource)
695 AC_SUBST(gdkpixbufcsourcepath)
696 if test "$gtkfe" != no -a "_$gdkpixbufcsourcepath" = _; then
697 AC_MSG_ERROR("Cannot find gdk-pixbuf-csource: Install GTK+ 2.0\!")
698 fi
699
700 dnl if we don't have this, use g_snprintf instead
a0bfbde The monster check-in:
zed authored Jul 9, 2006
701 AC_CHECK_FUNCS(snprintf vsnprintf memrchr strtoull)
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
702
703 AC_CHECK_FUNC(gethostbyname, ,
704 AC_CHECK_LIB(resolv, gethostbyname, ,
705 AC_CHECK_LIB(nsl, gethostbyname)))
706
707 AC_CHECK_FUNC(gethostname, , AC_CHECK_LIB(nsl, gethostname))
708
709 dnl necessary for IRIX
710 AC_CHECK_HEADERS(strings.h)
711
712 dnl Check for type in sys/socket.h - from Squid source (GPL)
713 AC_CACHE_CHECK(for socklen_t, ac_cv_type_socklen_t, [
714 AC_EGREP_CPP([socklen_t[^a-zA-Z_0-9]], [#include <sys/types.h>
715 #include <sys/socket.h>
716 #if STDC_HEADERS
717 #include <stdlib.h>
718 #include <stddef.h>
719 #endif],
720 ac_cv_type_socklen_t=yes,
721 ac_cv_type_socklen_t=no)
722 ])
723 if test $ac_cv_type_socklen_t = no; then
724 AC_DEFINE(socklen_t, int)
725 fi
726
f6ef433 Randomized DNS lookups on Mac OS X on hostnames that return multiple …
zed authored Dec 26, 2005
727 dnl Mac OS X and Darwin use lookupd, which caches DNS queries by default
728 AC_EGREP_CPP(lookupd, dnl
729 [#if (defined(__APPLE__) && defined(__MACH__))
730 lookupd
731 #endif], AC_DEFINE([LOOKUPD],1,[Define to 1 if the system uses lookupd]))
732
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
733 dnl freebsd needs this
734 LIBS="$LIBS $INTLLIBS"
3d173b5 *** empty log message ***
zed authored Feb 18, 2003
735 CFLAGS="$CFLAGS $CPPFLAGS"
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
736
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
737 GUI_LIBS="$GUI_LIBS $COMMON_LIBS"
738
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
739 dnl make these visible to all Makefiles
740 AC_SUBST(GUI_LIBS)
741 AC_SUBST(GUI_CFLAGS)
742 AC_SUBST(COMMON_LIBS)
743 AC_SUBST(COMMON_CFLAGS)
744 AC_SUBST(PERL_CFLAGS)
745 AC_SUBST(PERL_LDFLAGS)
746 AC_SUBST(PY_CFLAGS)
747 AC_SUBST(PY_LIBS)
615cad4 more tcl detection tweaks
zed authored Jan 22, 2003
748 AC_SUBST(TCL_LIBS)
749 AC_SUBST(TCL_CFLAGS)
d796506 - Add xchat-remote and dbus plugin (Claessens Xavier). Currently requ…
zed authored Oct 12, 2005
750 AC_SUBST(DBUS_CFLAGS)
751 AC_SUBST(DBUS_LIBS)
752
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
753
754 PLUGIN_INCLUDES='-I$(top_srcdir)/plugins'
755 AC_SUBST(PLUGIN_INCLUDES)
756
c77219d configure.in: Fix resolution of XCHATSHAREDIR and XCHATLIBDIR, especi…
zed authored Aug 31, 2005
757 dnl for plugin.c and pixmaps.c
758 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
759 test "x$exec_prefix" = xNONE && exec_prefix="$prefix"
760
761 AC_DEFINE_UNQUOTED(PREFIX, "${prefix}")
762
763 XCHATLIBDIR=`eval echo ${libdir}/xchat`
764 AC_DEFINE_UNQUOTED(XCHATLIBDIR, "$XCHATLIBDIR")
765
766 XCHATSHAREDIR=`eval echo ${datadir}/xchat`
767 AC_DEFINE_UNQUOTED(XCHATSHAREDIR, "$XCHATSHAREDIR")
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
768
7e82bfb configure.in: Put back xchatlibdir variable, since the Makefiles in p…
zed authored Jan 21, 2005
769 dnl for plugins/xxx/Makefile.am
770 xchatlibdir=${libdir}/xchat
771 AC_SUBST(xchatlibdir)
772
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
773 AC_OUTPUT([
774 Makefile
775 src/Makefile
776 src/common/Makefile
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
777 src/common/dbus/Makefile
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
778 src/fe-text/Makefile
779 src/fe-gtk/Makefile
780 src/pixmaps/Makefile
781 plugins/Makefile
782 plugins/python/Makefile
783 plugins/perl/Makefile
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
784 plugins/tcl/Makefile
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
785 intl/Makefile
786 po/Makefile.in
787 ])
788
789 echo
790 echo xchat $VERSION
791 echo
792 echo Building GTK+ Interface .... : $gtkfe
793 echo Building TEXT Interface .... : $textfe
794 echo
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
795 echo PLUGINS: Perl: $perl Python: $python TCL: $tcl
08c40c7 *** empty log message ***
zed authored Jan 13, 2003
796 echo
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
797 echo mmx tinting ......... : $mmx\ spelling .............. : $spell
798 echo XShm tinting ........ : $shm\ plugin interface ...... : $plugin
debc48d *** empty log message ***
zed authored Dec 9, 2002
799 if test "$xft" = no; then
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
800 echo text backend ........ : pango\ nls/gettext ........... : $USE_NLS
debc48d *** empty log message ***
zed authored Dec 9, 2002
801 else
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
802 echo text backend ........ : xft\ nls/gettext ........... : $USE_NLS
debc48d *** empty log message ***
zed authored Dec 9, 2002
803 fi
3f05fe4 - Move dbus plugin to src/common/dbus
zdra authored Jul 18, 2006
804 echo openssl support ..... : $openssl\ ipv6 support .......... : $ipv6
805 echo dbus support ........ : $dbus\ msproxy ntlm \(ISA\) .. : $have_ntlm
95863e1 git-svn-id: https://xchat.svn.sourceforge.net/svnroot/xchat@2 893a96b…
zed authored Nov 28, 2002
806 echo
807 echo The binary will be installed in $prefix/bin
808 echo
809
810 if test "$gtkfe" = no; then
811 echo Warning: The GTK \(GUI\) frontend will not be built.
812 echo
813 fi
814
815 echo configure complete, now type \'make\' and pray.
816 echo
Something went wrong with that request. Please try again.