2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2024 Alexander Barton (alex@barton.de) and Contributors
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.
12 define(VERSION_ID,esyscmd([
13 V=`git describe 2>/dev/null | sed -e 's/rel-//g' | sed -e 's/-/~/'`;
14 [ -z "$V" -a -r configure ] \
15 && V=`grep "PACKAGE_STRING=" configure | cut -d"'" -f2 | cut -d' ' -f2`
16 ( [ -n "$V" ] && echo "$V" || echo "??" ) | tr -d '\n';
19 m4_ifdef([AM_SILENT_RULES],
20 [m4_define([ng_color_tests], [color-tests])],
21 [m4_define([ng_color_tests], [])])
23 # -- Initialisation --
26 AC_INIT([ngIRCd],[VERSION_ID],[ngircd-ml@ngircd.barton.de],[ngircd],[http://ngircd.barton.de/])
28 AC_CONFIG_SRCDIR([src/ngircd/ngircd.c])
29 AC_CONFIG_HEADER([src/config.h])
32 AM_INIT_AUTOMAKE([-Wall 1.10 foreign ]ng_color_tests)
34 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
36 # -- Templates for config.h --
38 AH_TEMPLATE([DEBUG], [Define if debug-mode should be enabled])
39 AH_TEMPLATE([HAVE_sockaddr_in_len], [Define if sockaddr_in.sin_len exists])
40 AH_TEMPLATE([HAVE_socklen_t], [Define if socklen_t exists])
41 AH_TEMPLATE([ICONV], [Define if libiconv can be used, e.g. for CHARCONV])
42 AH_TEMPLATE([IDENTAUTH], [Define if the server should do IDENT requests])
43 AH_TEMPLATE([IRCPLUS], [Define if IRC+ protocol should be used])
44 AH_TEMPLATE([PAM], [Define if PAM should be used])
45 AH_TEMPLATE([SNIFFER], [Define if IRC sniffer should be enabled])
46 AH_TEMPLATE([STRICT_RFC], [Define if ngIRCd should behave strict RFC compliant])
47 AH_TEMPLATE([SYSLOG], [Define if syslog should be used for logging])
48 AH_TEMPLATE([TCPWRAP], [Define if TCP wrappers should be used])
49 AH_TEMPLATE([WANT_IPV6], [Define if IPV6 protocol should be enabled])
50 AH_TEMPLATE([ZLIB], [Define if zlib compression should be enabled])
52 AH_TEMPLATE([HOST_OS], [Target operating system name])
53 AH_TEMPLATE([HOST_VENDOR], [Target system vendor])
54 AH_TEMPLATE([HOST_CPU], [Target CPU name])
61 # -- Helper programs --
63 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
72 # -- Compiler Features --
78 # -- Function Definitions --
80 AC_DEFUN([GCC_STACK_PROTECT_CC],[
82 # Use -fstack-protector-all for the test to enfoce the use of the
84 AC_MSG_CHECKING([whether ${CC} accepts -fstack-protector])
85 ssp_old_cflags="$CFLAGS"
86 CFLAGS="$CFLAGS -fstack-protector-all"
87 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],[],[ssp_cc=no])
89 CFLAGS="$ssp_old_cflags"
90 if test "X$ssp_cc" = "Xyes"; then
91 CFLAGS="$CFLAGS -fstack-protector"
92 AC_DEFINE([ENABLE_SSP_CC], 1, [Define if SSP C support is enabled.])
96 AC_DEFUN([WORKING_GETADDRINFO],[
97 AC_CHECK_FUNCS([getaddrinfo],[
98 AC_MSG_CHECKING([whether getaddrinfo() works])
99 AC_RUN_IFELSE([AC_LANG_SOURCE([[
101 #include <sys/types.h>
102 #include <sys/socket.h>
106 main(int argc, char **argv)
108 struct addrinfo hints, *ai;
109 memset(&hints, 0, sizeof(hints));
110 hints.ai_flags = AI_PASSIVE;
111 hints.ai_socktype = SOCK_STREAM;
112 hints.ai_family = PF_UNSPEC;
113 if(getaddrinfo(NULL, "0", &hints, &ai) != 0)
118 AC_DEFINE([HAVE_WORKING_GETADDRINFO], 1, [getaddrinfo(0)])
128 AC_DEFUN([GCC_W_NO_FORMAT_TRUNC],[
130 AC_MSG_CHECKING([whether ${CC} accepts -Wno-format-truncation])
132 CFLAGS="$CFLAGS -Wno-format-truncation"
133 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],[],[result=no])
135 if test "X$result" = "Xno"; then
140 # -- Hard coded system and compiler dependencies/features/options ... --
142 if test "$GCC" = "yes"; then
143 # We are using the GNU C compiler. Good!
144 CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes"
147 GCC_W_NO_FORMAT_TRUNC
152 # This is HP/UX, we need to define _XOPEN_SOURCE_EXTENDED
153 # (tested with HP/UX 11.11)
154 CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
158 # Add additional CFLAGS, eventually specified on the command line:
159 test -n "$CFLAGS_ADD" && CFLAGS="$CFLAGS $CFLAGS_ADD"
161 CFLAGS="$CFLAGS -DSYSCONFDIR='\"\$(sysconfdir)\"' -DDOCDIR='\"\$(docdir)\"'"
169 # Required header files
181 ],,AC_MSG_ERROR([required C header missing!]))
183 # Optional header files
184 AC_CHECK_HEADERS_ONCE([ \
198 AC_MSG_CHECKING(whether socklen_t exists)
199 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
200 #include <sys/types.h>
201 #include <sys/socket.h>
204 a = 2; b = 4; a += b;
206 AC_DEFINE(HAVE_socklen_t) AC_MSG_RESULT(yes)
219 AC_CHECK_MEMBER([struct sockaddr_in.sin_len], AC_DEFINE(HAVE_sockaddr_in_len),,
220 [#include <arpa/inet.h>])
224 # memmove: A/UX libUTIL
225 AC_SEARCH_LIBS([memmove], [UTIL], [], [
226 AC_MSG_ERROR([unable to find the memmove() function])
228 # gethostbyname: Solaris libnsl
229 AC_SEARCH_LIBS([gethostbyname], [bind nsl network], [], [
230 AC_MSG_ERROR([unable to find the gethostbyname() function])
232 # bind: SVR4 libsocket
233 AC_SEARCH_LIBS([bind], [socket network], [], [
234 AC_MSG_ERROR([unable to find the bind() function])
265 AC_MSG_ERROR([required function missing!]))
268 AC_CHECK_FUNCS_ONCE([
291 # -- Configuration options --
297 AS_HELP_STRING([--without-syslog],
298 [disable syslog (autodetected by default)]),
299 [ if test "$withval" != "no"; then
300 if test "$withval" != "yes"; then
301 CFLAGS="-I$withval/include $CFLAGS"
302 CPPFLAGS="-I$withval/include $CPPFLAGS"
303 LDFLAGS="-L$withval/lib $LDFLAGS"
305 AC_SEARCH_LIBS([syslog], [be], [x_syslog_on=yes], [
306 AC_MSG_ERROR([Can't enable syslog!])
310 [ AC_SEARCH_LIBS([syslog], [be], [x_syslog_on=yes])
313 if test "$x_syslog_on" = "yes"; then
315 AC_CHECK_HEADERS(syslog.h,,AC_MSG_ERROR([required C header missing!]))
318 # use zlib compression?
322 AS_HELP_STRING([--without-zlib],
323 [disable zlib compression (autodetected by default)]),
324 [ if test "$withval" != "no"; then
325 if test "$withval" != "yes"; then
326 CFLAGS="-I$withval/include $CFLAGS"
327 CPPFLAGS="-I$withval/include $CPPFLAGS"
328 LDFLAGS="-L$withval/lib $LDFLAGS"
330 AC_CHECK_LIB(z, deflate)
331 AC_CHECK_FUNCS(deflate, x_zlib_on=yes,
332 AC_MSG_ERROR([Can't enable zlib!])
336 [ AC_CHECK_LIB(z, deflate)
337 AC_CHECK_FUNCS(deflate, x_zlib_on=yes)
340 if test "$x_zlib_on" = "yes"; then
342 AC_CHECK_HEADERS(zlib.h,,AC_MSG_ERROR([required C header missing!]))
345 # detect which IO API to use:
350 AS_HELP_STRING([--without-select],
351 [disable select IO support (autodetected by default)]),
352 [ if test "$withval" != "no"; then
353 if test "$withval" != "yes"; then
354 CFLAGS="-I$withval/include $CFLAGS"
355 CPPFLAGS="-I$withval/include $CPPFLAGS"
356 LDFLAGS="-L$withval/lib $LDFLAGS"
358 AC_CHECK_FUNCS(select, x_io_select=yes,
359 AC_MSG_ERROR([Can't enable select IO support!])
364 AC_CHECK_FUNCS(select, x_io_select=yes)
369 AS_HELP_STRING([--without-poll],
370 [disable poll support (autodetected by default)]),
371 [ if test "$withval" != "no"; then
372 if test "$withval" != "yes"; then
373 CFLAGS="-I$withval/include $CFLAGS"
374 CPPFLAGS="-I$withval/include $CPPFLAGS"
375 LDFLAGS="-L$withval/lib $LDFLAGS"
377 AC_CHECK_FUNCS(poll, [
378 AC_CHECK_HEADERS(poll.h,
379 x_io_backend=poll\(\),
381 [Can't enable poll IO support!])
384 AC_MSG_ERROR([Can't enable poll IO support!])
389 AC_CHECK_FUNCS(poll, [
390 AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\))
396 AS_HELP_STRING([--without-devpoll],
397 [disable /dev/poll IO support (autodetected by default)]),
398 [ if test "$withval" != "no"; then
399 if test "$withval" != "yes"; then
400 CFLAGS="-I$withval/include $CFLAGS"
401 CPPFLAGS="-I$withval/include $CPPFLAGS"
402 LDFLAGS="-L$withval/lib $LDFLAGS"
405 AC_CHECK_HEADERS(sys/devpoll.h,,AC_MSG_ERROR([required C header missing!]))
409 AC_CHECK_HEADERS(sys/devpoll.h, x_io_backend=/dev/poll)
414 AS_HELP_STRING([--without-epoll],
415 [disable epoll IO support (autodetected by default)]),
416 [ if test "$withval" != "no"; then
417 if test "$withval" != "yes"; then
418 CFLAGS="-I$withval/include $CFLAGS"
419 CPPFLAGS="-I$withval/include $CPPFLAGS"
420 LDFLAGS="-L$withval/lib $LDFLAGS"
422 AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes,
423 AC_MSG_ERROR([Can't enable epoll IO support!])
428 AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes)
433 AS_HELP_STRING([--without-kqueue],
434 [disable kqueue IO support (autodetected by default)]),
435 [ if test "$withval" != "no"; then
436 if test "$withval" != "yes"; then
437 CFLAGS="-I$withval/include $CFLAGS"
438 CPPFLAGS="-I$withval/include $CPPFLAGS"
439 LDFLAGS="-L$withval/lib $LDFLAGS"
441 AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\),
442 AC_MSG_ERROR([Can't enable kqueue IO support!])
447 AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\))
451 if test "$x_io_epoll" = "yes" -a "$x_io_select" = "yes"; then
452 # when epoll() and select() are available, we'll use both!
453 x_io_backend="epoll(), select()"
455 if test "$x_io_epoll" = "yes"; then
456 # we prefere epoll() if it is available
457 x_io_backend="epoll()"
459 if test "$x_io_select" = "yes" -a "$x_io_backend" = "none"; then
460 # we'll use select, when available and no "better"
461 # interface has been detected ...
462 x_io_backend="select()"
467 if test "$x_io_backend" = "none"; then
468 AC_MSG_ERROR([No useable IO API activated/found!?])
474 AS_HELP_STRING([--with-openssl],
475 [enable SSL support using OpenSSL]),
476 [ if test "$withval" != "no"; then
477 if test "$withval" != "yes"; then
478 CFLAGS="-I$withval/include $CFLAGS"
479 CPPFLAGS="-I$withval/include $CPPFLAGS"
480 LDFLAGS="-L$withval/lib $LDFLAGS"
482 PKG_CHECK_MODULES([OPENSSL], [libssl libcrypto],
483 [LIBS="$LIBS $OPENSSL_LIBS" CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
484 AC_DEFINE(HAVE_LIBSSL, 1)],
485 [AC_CHECK_LIB(crypto, BIO_s_mem)
486 AC_CHECK_LIB(ssl, SSL_new)]
488 AC_CHECK_FUNCS(SSL_new, x_ssl_openssl=yes,
489 AC_MSG_ERROR([Can't enable openssl])
496 AS_HELP_STRING([--with-gnutls],
497 [enable SSL support using gnutls]),
498 [ if test "$withval" != "no"; then
499 if test "$withval" != "yes"; then
500 CFLAGS="-I$withval/include $CFLAGS"
501 CPPFLAGS="-I$withval/include $CPPFLAGS"
502 LDFLAGS="-L$withval/lib $LDFLAGS"
504 AC_CHECK_LIB(gnutls, gnutls_global_init)
505 AC_CHECK_FUNCS(gnutls_global_init, x_ssl_gnutls=yes,
506 AC_MSG_ERROR([Can't enable gnutls])
513 if test "$x_ssl_gnutls" = "yes"; then
514 if test "$x_ssl_openssl" = "yes";then
515 AC_MSG_ERROR([Cannot enable both gnutls and openssl])
519 if test "$x_ssl_openssl" = "yes"; then
523 AM_CONDITIONAL(HAVE_SSL, [test $x_ssl_lib != "no"])
528 AC_ARG_WITH(tcp-wrappers,
529 AS_HELP_STRING([--with-tcp-wrappers],
530 [enable TCP wrappers support]),
531 [ if test "$withval" != "no"; then
532 if test "$withval" != "yes"; then
533 CFLAGS="-I$withval/include $CFLAGS"
534 CPPFLAGS="-I$withval/include $CPPFLAGS"
535 LDFLAGS="-L$withval/lib $LDFLAGS"
537 AC_MSG_CHECKING(for hosts_access)
540 LIBS_END="-lwrap $LIBS_END"
541 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
542 #include <sys/types.h>
543 #include <sys/socket.h>
545 int allow_severity = 0;
546 int deny_severity = 0;
548 tcpd_warn("link test");
551 AC_DEFINE(TCPWRAP, 1)
555 AC_MSG_ERROR([Can't enable TCP wrappers!])
562 # do IDENT requests using libident?
566 AS_HELP_STRING([--with-ident],
567 [enable "IDENT" ("AUTH") protocol support]),
568 [ if test "$withval" != "no"; then
569 if test "$withval" != "yes"; then
570 CFLAGS="-I$withval/include $CFLAGS"
571 CPPFLAGS="-I$withval/include $CPPFLAGS"
572 LDFLAGS="-L$withval/lib $LDFLAGS"
574 AC_CHECK_LIB(ident, ident_id)
575 AC_CHECK_FUNCS(ident_id, x_identauth_on=yes,
576 AC_MSG_ERROR([Can't enable IDENT support!])
581 if test "$x_identauth_on" = "yes"; then
582 AC_DEFINE(IDENTAUTH, 1)
583 AC_CHECK_HEADERS(ident.h,,AC_MSG_ERROR([required C header missing!]))
586 # compile in PAM support?
590 AS_HELP_STRING([--with-pam],
591 [enable user authentication using PAM]),
592 [ if test "$withval" != "no"; then
593 if test "$withval" != "yes"; then
594 CFLAGS="-I$withval/include $CFLAGS"
595 CPPFLAGS="-I$withval/include $CPPFLAGS"
596 LDFLAGS="-L$withval/lib $LDFLAGS"
598 AC_CHECK_LIB(pam, pam_authenticate)
599 AC_CHECK_FUNCS(pam_authenticate, x_pam_on=yes,
600 AC_MSG_ERROR([Can't enable PAM support!])
605 if test "$x_pam_on" = "yes"; then
607 AC_CHECK_HEADERS(security/pam_appl.h,pam_ok=yes)
608 if test "$pam_ok" != "yes"; then
609 AC_CHECK_HEADERS(pam/pam_appl.h,pam_ok=yes,
610 AC_MSG_ERROR([required C header missing!]))
614 # compile in IRC+ protocol support?
617 AC_ARG_ENABLE(ircplus,
618 AS_HELP_STRING([--disable-ircplus],
619 [disable IRC+ protocol]),
620 if test "$enableval" = "no"; then x_ircplus_on=no; fi
622 if test "$x_ircplus_on" = "yes"; then
623 AC_DEFINE(IRCPLUS, 1)
625 # Compile in iconv support?
626 # We only check for it when IRC+ is enabled, because the IRC+ command
627 # CHARCONV is the only function depending on it.
630 AS_HELP_STRING([--with-iconv],
631 [enable character conversion using libiconv]),
632 [ if test "$withval" != "no"; then
633 if test "$withval" != "yes"; then
634 CFLAGS="-I$withval/include $CFLAGS"
635 CPPFLAGS="-I$withval/include $CPPFLAGS"
636 LDFLAGS="-L$withval/lib $LDFLAGS"
638 AC_CHECK_LIB(iconv, iconv_open)
639 AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes)
640 if test "$x_iconv_on" != "yes"; then
641 AC_CHECK_LIB(iconv, libiconv_open)
642 AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes)
644 if test "$x_iconv_on" != "yes"; then
645 AC_MSG_ERROR([Can't enable libiconv support!])
649 if test "$x_iconv_on" = "yes"; then
654 # enable support for IPv6?
658 AS_HELP_STRING([--disable-ipv6],
659 [disable IPv6 protocol support (autodetected by default)]),
660 [ if test "$enableval" = "no"; then
664 [getaddrinfo getnameinfo],,
665 AC_MSG_ERROR([required function missing for IPv6 support!])
669 [ AC_CHECK_FUNCS([getaddrinfo getnameinfo],, x_ipv6_on=no)
672 if test "$x_ipv6_on" = "yes"; then
673 AC_DEFINE(WANT_IPV6, 1)
676 # compile in IRC "sniffer"?
678 x_sniffer_on=no; x_debug_on=no
679 AC_ARG_ENABLE(sniffer,
680 AS_HELP_STRING([--enable-sniffer],
681 [enable IRC traffic sniffer (enables debug mode)]),
682 if test "$enableval" = "yes"; then
683 AC_DEFINE(SNIFFER, 1)
684 x_sniffer_on=yes; x_debug_on=yes
688 # enable additional debugging code?
691 AS_HELP_STRING([--enable-debug],
692 [show additional debug output]),
693 if test "$enableval" = "yes"; then x_debug_on=yes; fi
695 if test "$x_debug_on" = "yes"; then
697 test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS"
698 AC_CHECK_FUNCS(mtrace)
701 # enable "strict RFC rules"?
704 AC_ARG_ENABLE(strict-rfc,
705 AS_HELP_STRING([--enable-strict-rfc],
706 [strict RFC conformance -- may break clients!]),
707 if test "$enableval" = "yes"; then
708 AC_DEFINE(STRICT_RFC, 1)
715 AC_DEFINE_UNQUOTED(HOST_CPU, "$host_cpu" )
716 AC_DEFINE_UNQUOTED(HOST_VENDOR, "$host_vendor" )
717 AC_DEFINE_UNQUOTED(HOST_OS, "$host_os" )
719 # Add additional CFLAGS, LDFLAGS and LIBS which were specified on the command
720 # line or by some tests from above, but after running this script. Useful for
721 # adding "-Werror", for example:
722 test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END"
723 test -n "$LDFLAGS_END" && LDFLAGS="$LDFLAGS $LDFLAGS_END"
724 test -n "$LIBS_END" && LIBS="$LIBS $LIBS_END"
726 # -- Generate files --
730 contrib/Debian/Makefile \
735 src/ipaddr/Makefile \
737 src/ngircd/Makefile \
738 src/portab/Makefile \
739 src/testsuite/Makefile \
745 type dpkg >/dev/null 2>&1
746 if test $? -eq 0; then
747 # Generate debian/ link if the dpkg command exists
748 # (read: if we are running on a debian compatible system)
749 echo "creating Debian-specific links ..."
750 if test ! -f debian/rules -a -f contrib/Debian/rules; then
751 ln -s contrib/Debian debian
758 echo "ngIRCd $PACKAGE_VERSION has been configured with the following options:"
761 # Someone please show me a better way :) [borrowed by OpenSSH]
762 B=`eval echo ${bindir}` ; B=`eval echo ${B}`
763 S=`eval echo ${sbindir}` ; S=`eval echo ${S}`
764 C=`eval echo ${sysconfdir}` ; C=`eval echo ${C}`
765 M=`eval echo ${mandir}` ; M=`eval echo ${M}`
766 D=`eval echo ${docdir}` ; D=`eval echo ${D}`
768 echo " Host: ${host}"
769 echo " Compiler: ${CC}"
770 test -n "$CFLAGS" && echo " Compiler flags: ${CFLAGS}"
771 test -n "$CPPFLAGS" && echo " Preprocessor flags: ${CPPFLAGS}"
772 test -n "$LDFLAGS" && echo " Linker flags: ${LDFLAGS}"
773 test -n "$LIBS" && echo " Libraries: ${LIBS}"
775 echo " 'ngircd' binary: $S"
776 echo " Configuration file: $C"
777 echo " Manual pages: $M"
778 echo " Documentation: $D"
781 echo $ECHO_N " Syslog support: $ECHO_C"
782 test "$x_syslog_on" = "yes" \
783 && echo $ECHO_N "yes $ECHO_C" \
784 || echo $ECHO_N "no $ECHO_C"
785 echo $ECHO_N " Enable debug code: $ECHO_C"
786 test "$x_debug_on" = "yes" \
790 echo $ECHO_N " zlib compression: $ECHO_C"
791 test "$x_zlib_on" = "yes" \
792 && echo $ECHO_N "yes $ECHO_C" \
793 || echo $ECHO_N "no $ECHO_C"
794 echo $ECHO_N " IRC sniffer: $ECHO_C"
795 test "$x_sniffer_on" = "yes" \
799 echo $ECHO_N " Use TCP Wrappers: $ECHO_C"
800 test "$x_tcpwrap_on" = "yes" \
801 && echo $ECHO_N "yes $ECHO_C" \
802 || echo $ECHO_N "no $ECHO_C"
803 echo $ECHO_N " Strict RFC mode: $ECHO_C"
804 test "$x_strict_rfc_on" = "yes" \
808 echo $ECHO_N " IDENT support: $ECHO_C"
809 test "$x_identauth_on" = "yes" \
810 && echo $ECHO_N "yes $ECHO_C" \
811 || echo $ECHO_N "no $ECHO_C"
812 echo $ECHO_N " IRC+ protocol: $ECHO_C"
813 test "$x_ircplus_on" = "yes" \
817 echo $ECHO_N " IPv6 protocol: $ECHO_C"
818 test "$x_ipv6_on" = "yes" \
819 && echo $ECHO_N "yes $ECHO_C" \
820 || echo $ECHO_N "no $ECHO_C"
821 echo $ECHO_N " I/O backend: $ECHO_C"
824 echo $ECHO_N " PAM support: $ECHO_C"
825 test "$x_pam_on" = "yes" \
826 && echo $ECHO_N "yes $ECHO_C" \
827 || echo $ECHO_N "no $ECHO_C"
828 echo $ECHO_N " SSL support: $ECHO_C"
831 echo $ECHO_N " libiconv support: $ECHO_C"
836 define(_automake_regex_,[[^AUTOMAKE_OPTIONS = [a-z .\-]*/portab/ansi2knr]])
837 if ! grep "_automake_regex_" src/ngircd/Makefile.am >/dev/null 2>&1; then
839 echo "This GNU automake generated build system does not support \"de-ANSI-fication\","
840 echo "therefore don't use it to generate \"official\" distribution archives!"
841 echo "(Most probably you want to use GNU automake 1.11.x for this purpose ...)"