configure.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. #
  2. # ngIRCd -- The Next Generation IRC Daemon
  3. # Copyright (c)2001-2007 Alexander Barton <alex@barton.de>
  4. #
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # Please read the file COPYING, README and AUTHORS for more information.
  10. #
  11. # $Id: configure.in,v 1.118.2.13 2007/07/31 19:07:59 alex Exp $
  12. #
  13. # -- Initialisation --
  14. AC_PREREQ(2.50)
  15. AC_INIT(ngircd, 0.10.3)
  16. AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
  17. AC_CANONICAL_TARGET
  18. AM_INIT_AUTOMAKE(1.6)
  19. AM_CONFIG_HEADER(src/config.h)
  20. # -- Templates for config.h --
  21. AH_TEMPLATE([DEBUG], [Define if debug-mode should be enabled])
  22. AH_TEMPLATE([HAVE_socklen_t], [Define if socklen_t exists])
  23. AH_TEMPLATE([SNIFFER], [Define if IRC sniffer should be enabled])
  24. AH_TEMPLATE([STRICT_RFC], [Define if ngIRCd should behave strict RFC compliant])
  25. AH_TEMPLATE([SYSLOG], [Define if syslog should be used for logging])
  26. AH_TEMPLATE([ZLIB], [Define if zlib compression should be enabled])
  27. AH_TEMPLATE([TCPWRAP], [Define if TCP wrappers should be used])
  28. AH_TEMPLATE([IRCPLUS], [Define if IRC+ protocol should be used])
  29. AH_TEMPLATE([ZEROCONF], [Define if support for Zeroconf should be included])
  30. AH_TEMPLATE([IDENTAUTH], [Define if the server should do IDENT requests])
  31. AH_TEMPLATE([TARGET_OS], [Target operating system name])
  32. AH_TEMPLATE([TARGET_VENDOR], [Target system vendor])
  33. AH_TEMPLATE([TARGET_CPU], [Target CPU name])
  34. # -- C Compiler --
  35. AC_PROG_CC
  36. # -- Helper programs --
  37. AC_PROG_AWK
  38. AC_PROG_INSTALL
  39. AC_PROG_LN_S
  40. AC_PROG_MAKE_SET
  41. AC_PROG_RANLIB
  42. # -- Compiler Features --
  43. AM_C_PROTOTYPES
  44. AC_C_CONST
  45. AC_C_INLINE
  46. # -- Hard coded system and compiler dependencies/features/options ... --
  47. AC_DEFUN([GCC_STACK_PROTECT_CC],[
  48. ssp_cc=yes
  49. # we use -fstack-protector-all for the test to enfoce the use of the guard variable
  50. AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector])
  51. ssp_old_cflags="$CFLAGS"
  52. CFLAGS="$CFLAGS -fstack-protector-all"
  53. AC_TRY_LINK(,,, ssp_cc=no)
  54. echo $ssp_cc
  55. CFLAGS="$ssp_old_cflags"
  56. if test "X$ssp_cc" = "Xyes"; then
  57. CFLAGS="$CFLAGS -fstack-protector"
  58. AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.])
  59. fi
  60. ])
  61. if test "$GCC" = "yes"; then
  62. # We are using the GNU C compiler. Good!
  63. CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes"
  64. GCC_STACK_PROTECT_CC
  65. fi
  66. case "$target_os" in
  67. hpux*)
  68. # This is HP/UX, we need to define _XOPEN_SOURCE_EXTENDED
  69. # (tested with HP/UX 11.11)
  70. CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
  71. ;;
  72. esac
  73. # Add additional CFLAGS, eventually specified on the command line:
  74. test -n "$CFLAGS_ADD" && CFLAGS="$CFLAGS $CFLAGS_ADD"
  75. CFLAGS="$CFLAGS -DSYSCONFDIR='\"\$(sysconfdir)\"'"
  76. # -- Headers --
  77. AC_HEADER_STDC
  78. AC_HEADER_TIME
  79. AC_HEADER_SYS_WAIT
  80. AC_CHECK_HEADERS([ \
  81. ctype.h errno.h fcntl.h netdb.h netinet/in.h stdlib.h string.h \
  82. strings.h sys/socket.h sys/time.h unistd.h \
  83. ],,AC_MSG_ERROR([required C header missing!]))
  84. AC_CHECK_HEADERS([arpa/inet.h ctype.h malloc.h stdbool.h stddef.h varargs.h])
  85. # -- Datatypes --
  86. AC_MSG_CHECKING(whether socklen_t exists)
  87. AC_TRY_COMPILE([
  88. #include <sys/types.h>
  89. #include <sys/socket.h>
  90. ],[
  91. socklen_t a, b;
  92. a = 2; b = 4; a += b;
  93. ],[
  94. AC_DEFINE(HAVE_socklen_t) AC_MSG_RESULT(yes)
  95. ],[
  96. AC_MSG_RESULT(no)
  97. ])
  98. AC_TYPE_SIGNAL
  99. AC_TYPE_SIZE_T
  100. # -- Libraries --
  101. AC_CHECK_LIB(UTIL,memmove)
  102. AC_CHECK_LIB(socket,bind)
  103. AC_CHECK_LIB(nsl,gethostent)
  104. # -- Functions --
  105. AC_FUNC_FORK
  106. AC_FUNC_STRFTIME
  107. AC_CHECK_FUNCS([ \
  108. bind gethostbyaddr gethostbyname gethostname inet_ntoa malloc memmove \
  109. memset realloc setsid setsockopt socket strcasecmp strchr strcspn strerror \
  110. strstr waitpid],,AC_MSG_ERROR([required function missing!]))
  111. AC_CHECK_FUNCS(inet_aton isdigit sigaction snprintf vsnprintf strdup strlcpy strlcat)
  112. # -- Configuration options --
  113. # use syslog?
  114. x_syslog_on=no
  115. AC_ARG_WITH(syslog,
  116. [ --without-syslog disable syslog (autodetected by default)],
  117. [ if test "$withval" != "no"; then
  118. if test "$withval" != "yes"; then
  119. CFLAGS="-I$withval/include $CFLAGS"
  120. CPPFLAGS="-I$withval/include $CPPFLAGS"
  121. LDFLAGS="-L$withval/lib $LDFLAGS"
  122. fi
  123. AC_CHECK_LIB(be, syslog)
  124. AC_CHECK_FUNCS(syslog, x_syslog_on=yes,
  125. AC_MSG_ERROR([Can't enable syslog!])
  126. )
  127. fi
  128. ],
  129. [
  130. AC_CHECK_LIB(be, syslog)
  131. AC_CHECK_FUNCS(syslog, x_syslog_on=yes)
  132. ]
  133. )
  134. if test "$x_syslog_on" = "yes"; then
  135. AC_DEFINE(SYSLOG, 1)
  136. AC_CHECK_HEADERS(syslog.h,,AC_MSG_ERROR([required C header missing!]))
  137. fi
  138. # use zlib compression?
  139. x_zlib_on=no
  140. AC_ARG_WITH(zlib,
  141. [ --without-zlib disable zlib compression (autodetected by default)],
  142. [ if test "$withval" != "no"; then
  143. if test "$withval" != "yes"; then
  144. CFLAGS="-I$withval/include $CFLAGS"
  145. CPPFLAGS="-I$withval/include $CPPFLAGS"
  146. LDFLAGS="-L$withval/lib $LDFLAGS"
  147. fi
  148. AC_CHECK_LIB(z, deflate)
  149. AC_CHECK_FUNCS(deflate, x_zlib_on=yes,
  150. AC_MSG_ERROR([Can't enable zlib!])
  151. )
  152. fi
  153. ],
  154. [ AC_CHECK_LIB(z, deflate)
  155. AC_CHECK_FUNCS(deflate, x_zlib_on=yes)
  156. ]
  157. )
  158. if test "$x_zlib_on" = "yes"; then
  159. AC_DEFINE(ZLIB, 1)
  160. AC_CHECK_HEADERS(zlib.h,,AC_MSG_ERROR([required C header missing!]))
  161. fi
  162. # detect which IO API to use:
  163. x_io_backend=none
  164. AC_ARG_WITH(select,
  165. [ --without-select disable select IO support (autodetected by default)],
  166. [ if test "$withval" != "no"; then
  167. if test "$withval" != "yes"; then
  168. CFLAGS="-I$withval/include $CFLAGS"
  169. CPPFLAGS="-I$withval/include $CPPFLAGS"
  170. LDFLAGS="-L$withval/lib $LDFLAGS"
  171. fi
  172. AC_CHECK_FUNCS(select, x_io_select=yes,
  173. AC_MSG_ERROR([Can't enable select IO support!])
  174. )
  175. fi
  176. ],
  177. [
  178. AC_CHECK_FUNCS(select, x_io_select=yes)
  179. ]
  180. )
  181. AC_ARG_WITH(poll,
  182. [ --without-poll disable poll support (autodetected by default)],
  183. [ if test "$withval" != "no"; then
  184. if test "$withval" != "yes"; then
  185. CFLAGS="-I$withval/include $CFLAGS"
  186. CPPFLAGS="-I$withval/include $CPPFLAGS"
  187. LDFLAGS="-L$withval/lib $LDFLAGS"
  188. fi
  189. AC_CHECK_FUNCS(poll, x_io_backend=poll\(\),
  190. AC_MSG_ERROR([Can't enable poll IO support!])
  191. )
  192. fi
  193. ],
  194. [
  195. AC_CHECK_FUNCS(poll, x_io_backend=poll\(\))
  196. ]
  197. )
  198. AC_ARG_WITH(devpoll,
  199. [ --without-devpoll disable /dev/poll IO support (autodetected by default)],
  200. [ if test "$withval" != "no"; then
  201. if test "$withval" != "yes"; then
  202. CFLAGS="-I$withval/include $CFLAGS"
  203. CPPFLAGS="-I$withval/include $CPPFLAGS"
  204. LDFLAGS="-L$withval/lib $LDFLAGS"
  205. fi
  206. AC_CHECK_HEADERS(sys/devpoll.h,,AC_MSG_ERROR([required C header missing!]))
  207. fi
  208. ],
  209. [
  210. AC_CHECK_HEADERS(sys/devpoll.h, x_io_backend=/dev/poll)
  211. ]
  212. )
  213. AC_ARG_WITH(epoll,
  214. [ --without-epoll disable epoll IO support (autodetected by default)],
  215. [ if test "$withval" != "no"; then
  216. if test "$withval" != "yes"; then
  217. CFLAGS="-I$withval/include $CFLAGS"
  218. CPPFLAGS="-I$withval/include $CPPFLAGS"
  219. LDFLAGS="-L$withval/lib $LDFLAGS"
  220. fi
  221. AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes,
  222. AC_MSG_ERROR([Can't enable epoll IO support!])
  223. )
  224. fi
  225. ],
  226. [
  227. AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes)
  228. ]
  229. )
  230. AC_ARG_WITH(kqueue,
  231. [ --without-kqueue disable kqueue IO support (autodetected by default)],
  232. [ if test "$withval" != "no"; then
  233. if test "$withval" != "yes"; then
  234. CFLAGS="-I$withval/include $CFLAGS"
  235. CPPFLAGS="-I$withval/include $CPPFLAGS"
  236. LDFLAGS="-L$withval/lib $LDFLAGS"
  237. fi
  238. AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\),
  239. AC_MSG_ERROR([Can't enable kqueue IO support!])
  240. )
  241. fi
  242. ],
  243. [
  244. AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\))
  245. ]
  246. )
  247. if test "$x_io_epoll" = "yes" -a "$x_io_select" = "yes"; then
  248. # when epoll() and select() are available, we'll use both!
  249. x_io_backend="epoll(), select()"
  250. else
  251. if test "$x_io_epoll" = "yes"; then
  252. # we prefere epoll() if it is available
  253. x_io_backend="epoll()"
  254. else
  255. if test "$x_io_select" = "yes" -a "$x_io_backend" = "none"; then
  256. # we'll use select, when available and no "better"
  257. # interface has been detected ...
  258. x_io_backend="select()"
  259. fi
  260. fi
  261. fi
  262. if test "$x_io_backend" = "none"; then
  263. AC_MSG_ERROR([No useabe IO API activated/found!?])
  264. fi
  265. # use TCP wrappers?
  266. x_tcpwrap_on=no
  267. AC_ARG_WITH(tcp-wrappers,
  268. [ --with-tcp-wrappers enable TCP wrappers support],
  269. [ if test "$withval" != "no"; then
  270. if test "$withval" != "yes"; then
  271. CFLAGS="-I$withval/include $CFLAGS"
  272. CPPFLAGS="-I$withval/include $CPPFLAGS"
  273. LDFLAGS="-L$withval/lib $LDFLAGS"
  274. fi
  275. AC_MSG_CHECKING(for hosts_access)
  276. LIBS="-lwrap $LIBS"
  277. AC_TRY_LINK([
  278. #include <tcpd.h>
  279. int allow_severity = 0;
  280. int deny_severity = 0;
  281. ],[
  282. tcpd_warn("link test");
  283. ],[
  284. AC_MSG_RESULT(yes)
  285. AC_DEFINE(TCPWRAP, 1)
  286. x_tcpwrap_on=yes
  287. ],[
  288. AC_MSG_RESULT(no)
  289. AC_MSG_ERROR([Can't enable TCP wrappers!])
  290. ])
  291. fi
  292. ]
  293. )
  294. # include support for "zeroconf"?
  295. x_zeroconf_on=no
  296. AC_ARG_WITH(zeroconf,
  297. [ --with-zeroconf enable support for "Zeroconf"],
  298. [ if test "$withval" != "no"; then
  299. if test "$withval" != "yes"; then
  300. CFLAGS="-I$withval/include $CFLAGS"
  301. CPPFLAGS="-I$withval/include $CPPFLAGS"
  302. LDFLAGS="-L$withval/lib $LDFLAGS"
  303. fi
  304. AC_CHECK_FUNCS(DNSServiceRegistrationCreate, x_zeroconf_on=osx,
  305. [
  306. AC_CHECK_LIB(pthread, pthread_mutexattr_init)
  307. AC_CHECK_LIB(howl, sw_discovery_init)
  308. AC_CHECK_FUNCS(sw_discovery_init, \
  309. x_zeroconf_on=howl, \
  310. AC_MSG_ERROR([Can't enable Zeroconf!]))
  311. ])
  312. fi
  313. ]
  314. )
  315. if test "$x_zeroconf_on" = "osx"; then
  316. AC_CHECK_HEADERS([DNSServiceDiscovery/DNSServiceDiscovery.h \
  317. mach/port.h],,AC_MSG_ERROR([required C header missing!]))
  318. AC_DEFINE(ZEROCONF, 1)
  319. fi
  320. if test "$x_zeroconf_on" = "howl"; then
  321. for dir in /usr/local/include /usr/local/include/howl* \
  322. /usr/include /usr/include/howl* \
  323. /usr/local/include/avahi* /usr/include/avahi*; do
  324. test -d "$dir" || continue
  325. AC_MSG_CHECKING([for Howl headers in $dir])
  326. if test -f "$dir/rendezvous/rendezvous.h"; then
  327. if test "$dir" != "/usr/local/include" -a \
  328. "$dir" != "/usr/include"; then
  329. CFLAGS="-I$dir $CFLAGS"
  330. CPPFLAGS="-I$dir $CPPFLAGS"
  331. fi
  332. AC_MSG_RESULT(yes)
  333. break
  334. else
  335. AC_MSG_RESULT(no)
  336. fi
  337. done
  338. AC_CHECK_HEADERS([rendezvous/rendezvous.h],, \
  339. AC_MSG_ERROR([required C header missing!]))
  340. AC_DEFINE(ZEROCONF, 1)
  341. fi
  342. # do IDENT requests using libident?
  343. x_identauth_on=no
  344. AC_ARG_WITH(ident,
  345. [ --with-ident enable "IDENT" ("AUTH") protocol support],
  346. [ if test "$withval" != "no"; then
  347. if test "$withval" != "yes"; then
  348. CFLAGS="-I$withval/include $CFLAGS"
  349. CPPFLAGS="-I$withval/include $CPPFLAGS"
  350. LDFLAGS="-L$withval/lib $LDFLAGS"
  351. fi
  352. AC_CHECK_LIB(ident, ident_id)
  353. AC_CHECK_FUNCS(ident_id, x_identauth_on=yes,
  354. AC_MSG_ERROR([Can't enable IDENT support!])
  355. )
  356. fi
  357. ]
  358. )
  359. if test "$x_identauth_on" = "yes"; then
  360. AC_DEFINE(IDENTAUTH, 1)
  361. AC_CHECK_HEADERS(ident.h,,AC_MSG_ERROR([required C header missing!]))
  362. fi
  363. # compile in IRC+ protocol support?
  364. x_ircplus_on=yes
  365. AC_ARG_ENABLE(ircplus,
  366. [ --disable-ircplus disable IRC+ protocol],
  367. if test "$enableval" = "no"; then x_ircplus_on=no; fi
  368. )
  369. if test "$x_ircplus_on" = "yes"; then
  370. AC_DEFINE(IRCPLUS, 1)
  371. fi
  372. # compile in IRC "sniffer"?
  373. x_sniffer_on=no; x_debug_on=no
  374. AC_ARG_ENABLE(sniffer,
  375. [ --enable-sniffer enable IRC traffic sniffer (enables debug mode)],
  376. if test "$enableval" = "yes"; then
  377. AC_DEFINE(SNIFFER, 1)
  378. x_sniffer_on=yes; x_debug_on=yes
  379. fi
  380. )
  381. # enable additional debugging code?
  382. AC_ARG_ENABLE(debug,
  383. [ --enable-debug show additional debug output],
  384. if test "$enableval" = "yes"; then x_debug_on=yes; fi
  385. )
  386. if test "$x_debug_on" = "yes"; then
  387. AC_DEFINE(DEBUG, 1)
  388. test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS"
  389. fi
  390. # enable "strict RFC rules"?
  391. x_strict_rfc_on=no
  392. AC_ARG_ENABLE(strict-rfc,
  393. [ --enable-strict-rfc strict RFC conformance -- may break clients!],
  394. if test "$enableval" = "yes"; then
  395. AC_DEFINE(STRICT_RFC, 1)
  396. x_strict_rfc_on=yes
  397. fi
  398. )
  399. # -- Definitions --
  400. AC_DEFINE_UNQUOTED(TARGET_CPU, "$target_cpu" )
  401. AC_DEFINE_UNQUOTED(TARGET_VENDOR, "$target_vendor" )
  402. AC_DEFINE_UNQUOTED(TARGET_OS, "$target_os" )
  403. # Add additional CFLAGS, eventually specified on the command line, but after
  404. # running this configure script. Useful for "-Werror" for example.
  405. test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END"
  406. # -- Generate files --
  407. AC_OUTPUT([ \
  408. Makefile \
  409. doc/Makefile \
  410. doc/src/Makefile \
  411. src/Makefile \
  412. src/portab/Makefile \
  413. src/tool/Makefile \
  414. src/ngircd/Makefile \
  415. src/testsuite/Makefile \
  416. man/Makefile \
  417. contrib/Makefile \
  418. contrib/Debian/Makefile \
  419. contrib/MacOSX/Makefile \
  420. ])
  421. type dpkg >/dev/null 2>&1
  422. if test $? -eq 0; then
  423. # Generate debian/ link if the dpkg command exists
  424. # (read: if we are running on a debian compatible system)
  425. echo "creating Debian-specific links ..."
  426. test -f debian/rules || ln -s contrib/Debian debian
  427. fi
  428. # -- Result --
  429. echo
  430. echo "ngIRCd $PACKAGE_VERSION has been configured with the following options:"
  431. echo
  432. # Someone please show me a better way :) [borrowed by OpenSSH]
  433. B=`eval echo ${bindir}` ; B=`eval echo ${B}`
  434. S=`eval echo ${sbindir}` ; S=`eval echo ${S}`
  435. C=`eval echo ${sysconfdir}` ; C=`eval echo ${C}`
  436. M=`eval echo ${mandir}` ; M=`eval echo ${M}`
  437. D=`eval echo ${datadir}/doc/${PACKAGE}` ; D=`eval echo ${D}`
  438. echo " Target: ${target}"
  439. test "$target" != "$host" && echo " Host: ${host}"
  440. echo " Compiler: ${CC}"
  441. test -n "$CFLAGS" && echo " Compiler flags: ${CFLAGS}"
  442. test -n "$CPPFLAGS" && echo " Preprocessor flags: ${CPPFLAGS}"
  443. test -n "$LDFLAGS" && echo " Linker flags: ${LDFLAGS}"
  444. test -n "$LIBS" && echo " Libraries: ${LIBS}"
  445. echo
  446. echo " 'ngircd' binary: $S"
  447. echo " Configuration file: $C"
  448. echo " Manual pages: $M"
  449. echo " Documentation: $D"
  450. echo
  451. echo $ECHO_N " Syslog support: $ECHO_C"
  452. test "$x_syslog_on" = "yes" \
  453. && echo $ECHO_N "yes $ECHO_C" \
  454. || echo $ECHO_N "no $ECHO_C"
  455. echo $ECHO_N " Enable debug code: $ECHO_C"
  456. test "$x_debug_on" = "yes" \
  457. && echo "yes" \
  458. || echo "no"
  459. echo $ECHO_N " zlib compression: $ECHO_C"
  460. test "$x_zlib_on" = "yes" \
  461. && echo $ECHO_N "yes $ECHO_C" \
  462. || echo $ECHO_N "no $ECHO_C"
  463. echo $ECHO_N " IRC sniffer: $ECHO_C"
  464. test "$x_sniffer_on" = "yes" \
  465. && echo "yes" \
  466. || echo "no"
  467. echo $ECHO_N " Use TCP Wrappers: $ECHO_C"
  468. test "$x_tcpwrap_on" = "yes" \
  469. && echo $ECHO_N "yes $ECHO_C" \
  470. || echo $ECHO_N "no $ECHO_C"
  471. echo $ECHO_N " Strict RFC mode: $ECHO_C"
  472. test "$x_strict_rfc_on" = "yes" \
  473. && echo "yes" \
  474. || echo "no"
  475. echo $ECHO_N " Zeroconf support: $ECHO_C"
  476. case "$x_zeroconf_on" in
  477. osx)
  478. echo $ECHO_N "Apple $ECHO_C"
  479. ;;
  480. howl)
  481. echo $ECHO_N "Howl $ECHO_C"
  482. ;;
  483. *)
  484. echo $ECHO_N "no $ECHO_C"
  485. ;;
  486. esac
  487. echo $ECHO_N " IRC+ protocol: $ECHO_C"
  488. test "$x_ircplus_on" = "yes" \
  489. && echo "yes" \
  490. || echo "no"
  491. echo $ECHO_N " IDENT support: $ECHO_C"
  492. test "$x_identauth_on" = "yes" \
  493. && echo $ECHO_N "yes $ECHO_C" \
  494. || echo $ECHO_N "no $ECHO_C"
  495. echo $ECHO_N " I/O backend: $ECHO_C"
  496. echo "\"$x_io_backend\""
  497. echo
  498. # -eof-