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@lists.barton.de],[ngircd],[https://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 -Werror -Wno-format-truncation"
133 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],[],[result=no])
135 if test "X$result" = "Xyes"; then
136 CFLAGS="$old_cflags -Wno-format-truncation"
142 # -- Hard coded system and compiler dependencies/features/options ... --
144 if test "$GCC" = "yes"; then
145 # We are using the GNU C compiler. Good!
146 CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes"
149 GCC_W_NO_FORMAT_TRUNC
154 # This is HP/UX, we need to define _XOPEN_SOURCE_EXTENDED
155 # (tested with HP/UX 11.11)
156 CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
160 # Add additional CFLAGS, eventually specified on the command line:
161 test -n "$CFLAGS_ADD" && CFLAGS="$CFLAGS $CFLAGS_ADD"
163 CFLAGS="$CFLAGS -DSYSCONFDIR='\"\$(sysconfdir)\"' -DDOCDIR='\"\$(docdir)\"'"
171 # Required header files
183 ],,AC_MSG_ERROR([required C header missing!]))
185 # Optional header files
186 AC_CHECK_HEADERS_ONCE([ \
202 AC_MSG_CHECKING(whether socklen_t exists)
203 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
204 #include <sys/types.h>
205 #include <sys/socket.h>
208 a = 2; b = 4; a += b;
210 AC_DEFINE(HAVE_socklen_t) AC_MSG_RESULT(yes)
223 AC_CHECK_MEMBER([struct sockaddr_in.sin_len], AC_DEFINE(HAVE_sockaddr_in_len),,
224 [#include <arpa/inet.h>])
228 # memmove: A/UX libUTIL
229 AC_SEARCH_LIBS([memmove], [UTIL], [], [
230 AC_MSG_ERROR([unable to find the memmove() function])
232 # gethostbyname: Solaris libnsl
233 AC_SEARCH_LIBS([gethostbyname], [bind nsl network], [], [
234 AC_MSG_ERROR([unable to find the gethostbyname() function])
236 # bind: SVR4 libsocket
237 AC_SEARCH_LIBS([bind], [socket network], [], [
238 AC_MSG_ERROR([unable to find the bind() function])
269 AC_MSG_ERROR([required function missing!]))
272 AC_CHECK_FUNCS_ONCE([
296 # -- Configuration options --
302 AS_HELP_STRING([--without-syslog],
303 [disable syslog (autodetected by default)]),
304 [ if test "$withval" != "no"; then
305 if test "$withval" != "yes"; then
306 CFLAGS="-I$withval/include $CFLAGS"
307 CPPFLAGS="-I$withval/include $CPPFLAGS"
308 LDFLAGS="-L$withval/lib $LDFLAGS"
310 AC_SEARCH_LIBS([syslog], [be], [x_syslog_on=yes], [
311 AC_MSG_ERROR([Can't enable syslog!])
315 [ AC_SEARCH_LIBS([syslog], [be], [x_syslog_on=yes])
318 if test "$x_syslog_on" = "yes"; then
320 AC_CHECK_HEADERS(syslog.h,,AC_MSG_ERROR([required C header missing!]))
323 # use zlib compression?
327 AS_HELP_STRING([--without-zlib],
328 [disable zlib compression (autodetected by default)]),
329 [ if test "$withval" != "no"; then
330 if test "$withval" != "yes"; then
331 CFLAGS="-I$withval/include $CFLAGS"
332 CPPFLAGS="-I$withval/include $CPPFLAGS"
333 LDFLAGS="-L$withval/lib $LDFLAGS"
335 AC_CHECK_LIB(z, deflate)
336 AC_CHECK_FUNCS(deflate, x_zlib_on=yes,
337 AC_MSG_ERROR([Can't enable zlib!])
341 [ AC_CHECK_LIB(z, deflate)
342 AC_CHECK_FUNCS(deflate, x_zlib_on=yes)
345 if test "$x_zlib_on" = "yes"; then
347 AC_CHECK_HEADERS(zlib.h,,AC_MSG_ERROR([required C header missing!]))
350 # detect which IO API to use:
355 AS_HELP_STRING([--without-select],
356 [disable select IO support (autodetected by default)]),
357 [ if test "$withval" != "no"; then
358 if test "$withval" != "yes"; then
359 CFLAGS="-I$withval/include $CFLAGS"
360 CPPFLAGS="-I$withval/include $CPPFLAGS"
361 LDFLAGS="-L$withval/lib $LDFLAGS"
363 AC_CHECK_FUNCS(select, x_io_select=yes,
364 AC_MSG_ERROR([Can't enable select IO support!])
369 AC_CHECK_FUNCS(select, x_io_select=yes)
374 AS_HELP_STRING([--without-poll],
375 [disable poll support (autodetected by default)]),
376 [ if test "$withval" != "no"; then
377 if test "$withval" != "yes"; then
378 CFLAGS="-I$withval/include $CFLAGS"
379 CPPFLAGS="-I$withval/include $CPPFLAGS"
380 LDFLAGS="-L$withval/lib $LDFLAGS"
382 AC_CHECK_FUNCS(poll, [
383 AC_CHECK_HEADERS(poll.h,
384 x_io_backend=poll\(\),
386 [Can't enable poll IO support!])
389 AC_MSG_ERROR([Can't enable poll IO support!])
394 AC_CHECK_FUNCS(poll, [
395 AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\))
401 AS_HELP_STRING([--without-devpoll],
402 [disable /dev/poll IO support (autodetected by default)]),
403 [ if test "$withval" != "no"; then
404 if test "$withval" != "yes"; then
405 CFLAGS="-I$withval/include $CFLAGS"
406 CPPFLAGS="-I$withval/include $CPPFLAGS"
407 LDFLAGS="-L$withval/lib $LDFLAGS"
410 AC_CHECK_HEADERS(sys/devpoll.h,,AC_MSG_ERROR([required C header missing!]))
414 AC_CHECK_HEADERS(sys/devpoll.h, x_io_backend=/dev/poll)
419 AS_HELP_STRING([--without-epoll],
420 [disable epoll IO support (autodetected by default)]),
421 [ if test "$withval" != "no"; then
422 if test "$withval" != "yes"; then
423 CFLAGS="-I$withval/include $CFLAGS"
424 CPPFLAGS="-I$withval/include $CPPFLAGS"
425 LDFLAGS="-L$withval/lib $LDFLAGS"
427 AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes,
428 AC_MSG_ERROR([Can't enable epoll IO support!])
433 AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes)
438 AS_HELP_STRING([--without-kqueue],
439 [disable kqueue IO support (autodetected by default)]),
440 [ if test "$withval" != "no"; then
441 if test "$withval" != "yes"; then
442 CFLAGS="-I$withval/include $CFLAGS"
443 CPPFLAGS="-I$withval/include $CPPFLAGS"
444 LDFLAGS="-L$withval/lib $LDFLAGS"
446 AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\),
447 AC_MSG_ERROR([Can't enable kqueue IO support!])
452 AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\))
456 if test "$x_io_epoll" = "yes" -a "$x_io_select" = "yes"; then
457 # when epoll() and select() are available, we'll use both!
458 x_io_backend="epoll(), select()"
460 if test "$x_io_epoll" = "yes"; then
461 # we prefere epoll() if it is available
462 x_io_backend="epoll()"
464 if test "$x_io_select" = "yes" -a "$x_io_backend" = "none"; then
465 # we'll use select, when available and no "better"
466 # interface has been detected ...
467 x_io_backend="select()"
472 if test "$x_io_backend" = "none"; then
473 AC_MSG_ERROR([No useable IO API activated/found!?])
479 AS_HELP_STRING([--with-openssl],
480 [enable SSL support using OpenSSL]),
481 [ if test "$withval" != "no"; then
482 if test "$withval" != "yes"; then
483 CFLAGS="-I$withval/include $CFLAGS"
484 CPPFLAGS="-I$withval/include $CPPFLAGS"
485 LDFLAGS="-L$withval/lib $LDFLAGS"
487 PKG_CHECK_MODULES([OPENSSL], [libssl libcrypto],
488 [LIBS="$LIBS $OPENSSL_LIBS" CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
489 AC_DEFINE(HAVE_LIBSSL, 1)],
490 [AC_CHECK_LIB(crypto, BIO_s_mem)
491 AC_CHECK_LIB(ssl, SSL_new)]
493 AC_CHECK_FUNCS(SSL_new, x_ssl_openssl=yes,
494 AC_MSG_ERROR([Can't enable openssl])
501 AS_HELP_STRING([--with-gnutls],
502 [enable SSL support using gnutls]),
503 [ if test "$withval" != "no"; then
504 if test "$withval" != "yes"; then
505 CFLAGS="-I$withval/include $CFLAGS"
506 CPPFLAGS="-I$withval/include $CPPFLAGS"
507 LDFLAGS="-L$withval/lib $LDFLAGS"
509 AC_CHECK_LIB(gnutls, gnutls_global_init)
510 AC_CHECK_FUNCS(gnutls_global_init, x_ssl_gnutls=yes,
511 AC_MSG_ERROR([Can't enable gnutls])
518 if test "$x_ssl_gnutls" = "yes"; then
519 if test "$x_ssl_openssl" = "yes";then
520 AC_MSG_ERROR([Cannot enable both gnutls and openssl])
524 if test "$x_ssl_openssl" = "yes"; then
528 AM_CONDITIONAL(HAVE_SSL, [test $x_ssl_lib != "no"])
533 AC_ARG_WITH(tcp-wrappers,
534 AS_HELP_STRING([--with-tcp-wrappers],
535 [enable TCP wrappers support]),
536 [ if test "$withval" != "no"; then
537 if test "$withval" != "yes"; then
538 CFLAGS="-I$withval/include $CFLAGS"
539 CPPFLAGS="-I$withval/include $CPPFLAGS"
540 LDFLAGS="-L$withval/lib $LDFLAGS"
542 AC_MSG_CHECKING(for hosts_access)
545 LIBS_END="-lwrap $LIBS_END"
546 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
547 #include <sys/types.h>
548 #include <sys/socket.h>
550 int allow_severity = 0;
551 int deny_severity = 0;
553 tcpd_warn("link test");
556 AC_DEFINE(TCPWRAP, 1)
560 AC_MSG_ERROR([Can't enable TCP wrappers!])
567 # do IDENT requests using libident?
571 AS_HELP_STRING([--with-ident],
572 [enable "IDENT" ("AUTH") protocol support]),
573 [ if test "$withval" != "no"; then
574 if test "$withval" != "yes"; then
575 CFLAGS="-I$withval/include $CFLAGS"
576 CPPFLAGS="-I$withval/include $CPPFLAGS"
577 LDFLAGS="-L$withval/lib $LDFLAGS"
579 AC_CHECK_LIB(ident, ident_id)
580 AC_CHECK_FUNCS(ident_id, x_identauth_on=yes,
581 AC_MSG_ERROR([Can't enable IDENT support!])
586 if test "$x_identauth_on" = "yes"; then
587 AC_DEFINE(IDENTAUTH, 1)
588 AC_CHECK_HEADERS(ident.h,,AC_MSG_ERROR([required C header missing!]))
591 # compile in PAM support?
595 AS_HELP_STRING([--with-pam],
596 [enable user authentication using PAM]),
597 [ if test "$withval" != "no"; then
598 if test "$withval" != "yes"; then
599 CFLAGS="-I$withval/include $CFLAGS"
600 CPPFLAGS="-I$withval/include $CPPFLAGS"
601 LDFLAGS="-L$withval/lib $LDFLAGS"
603 AC_CHECK_LIB(pam, pam_authenticate)
604 AC_CHECK_FUNCS(pam_authenticate, x_pam_on=yes,
605 AC_MSG_ERROR([Can't enable PAM support!])
610 if test "$x_pam_on" = "yes"; then
612 AC_CHECK_HEADERS(security/pam_appl.h,pam_ok=yes)
613 if test "$pam_ok" != "yes"; then
614 AC_CHECK_HEADERS(pam/pam_appl.h,pam_ok=yes,
615 AC_MSG_ERROR([required C header missing!]))
619 # compile in IRC+ protocol support?
622 AC_ARG_ENABLE(ircplus,
623 AS_HELP_STRING([--disable-ircplus],
624 [disable IRC+ protocol]),
625 if test "$enableval" = "no"; then x_ircplus_on=no; fi
627 if test "$x_ircplus_on" = "yes"; then
628 AC_DEFINE(IRCPLUS, 1)
630 # Compile in iconv support?
631 # We only check for it when IRC+ is enabled, because the IRC+ command
632 # CHARCONV is the only function depending on it.
635 AS_HELP_STRING([--with-iconv],
636 [enable character conversion using libiconv]),
637 [ if test "$withval" != "no"; then
638 if test "$withval" != "yes"; then
639 CFLAGS="-I$withval/include $CFLAGS"
640 CPPFLAGS="-I$withval/include $CPPFLAGS"
641 LDFLAGS="-L$withval/lib $LDFLAGS"
643 AC_CHECK_LIB(iconv, iconv_open)
644 AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes)
645 if test "$x_iconv_on" != "yes"; then
646 AC_CHECK_LIB(iconv, libiconv_open)
647 AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes)
649 if test "$x_iconv_on" != "yes"; then
650 AC_MSG_ERROR([Can't enable libiconv support!])
654 if test "$x_iconv_on" = "yes"; then
659 # enable support for IPv6?
663 AS_HELP_STRING([--disable-ipv6],
664 [disable IPv6 protocol support (autodetected by default)]),
665 [ if test "$enableval" = "no"; then
669 [getaddrinfo getnameinfo],,
670 AC_MSG_ERROR([required function missing for IPv6 support!])
674 [ AC_CHECK_FUNCS([getaddrinfo getnameinfo],, x_ipv6_on=no)
677 if test "$x_ipv6_on" = "yes"; then
678 AC_DEFINE(WANT_IPV6, 1)
681 # compile in IRC "sniffer"?
683 x_sniffer_on=no; x_debug_on=no
684 AC_ARG_ENABLE(sniffer,
685 AS_HELP_STRING([--enable-sniffer],
686 [enable IRC traffic sniffer (enables debug mode)]),
687 if test "$enableval" = "yes"; then
688 AC_DEFINE(SNIFFER, 1)
689 x_sniffer_on=yes; x_debug_on=yes
693 # enable additional debugging code?
696 AS_HELP_STRING([--enable-debug],
697 [show additional debug output]),
698 if test "$enableval" = "yes"; then x_debug_on=yes; fi
700 if test "$x_debug_on" = "yes"; then
702 test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS"
703 AC_CHECK_FUNCS(mtrace)
706 # enable "strict RFC rules"?
709 AC_ARG_ENABLE(strict-rfc,
710 AS_HELP_STRING([--enable-strict-rfc],
711 [strict RFC conformance -- may break clients!]),
712 if test "$enableval" = "yes"; then
713 AC_DEFINE(STRICT_RFC, 1)
720 AC_DEFINE_UNQUOTED(HOST_CPU, "$host_cpu" )
721 AC_DEFINE_UNQUOTED(HOST_VENDOR, "$host_vendor" )
722 AC_DEFINE_UNQUOTED(HOST_OS, "$host_os" )
724 # Add additional CFLAGS, LDFLAGS and LIBS which were specified on the command
725 # line or by some tests from above, but after running this script. Useful for
726 # adding "-Werror", for example:
727 test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END"
728 test -n "$LDFLAGS_END" && LDFLAGS="$LDFLAGS $LDFLAGS_END"
729 test -n "$LIBS_END" && LIBS="$LIBS $LIBS_END"
731 # -- Generate files --
735 contrib/Debian/Makefile \
740 src/ipaddr/Makefile \
742 src/ngircd/Makefile \
743 src/portab/Makefile \
744 src/testsuite/Makefile \
750 type dpkg >/dev/null 2>&1
751 if test $? -eq 0; then
752 # Generate debian/ link if the dpkg command exists
753 # (read: if we are running on a debian compatible system)
754 echo "creating Debian-specific links ..."
755 if test ! -f debian/rules -a -f contrib/Debian/rules; then
756 ln -s contrib/Debian debian
763 echo "ngIRCd $PACKAGE_VERSION has been configured with the following options:"
766 # Someone please show me a better way :) [borrowed by OpenSSH]
767 B=`eval echo ${bindir}` ; B=`eval echo ${B}`
768 S=`eval echo ${sbindir}` ; S=`eval echo ${S}`
769 C=`eval echo ${sysconfdir}` ; C=`eval echo ${C}`
770 M=`eval echo ${mandir}` ; M=`eval echo ${M}`
771 D=`eval echo ${docdir}` ; D=`eval echo ${D}`
773 echo " Host: ${host}"
774 echo " Compiler: ${CC}"
775 test -n "$CFLAGS" && echo " Compiler flags: ${CFLAGS}"
776 test -n "$CPPFLAGS" && echo " Preprocessor flags: ${CPPFLAGS}"
777 test -n "$LDFLAGS" && echo " Linker flags: ${LDFLAGS}"
778 test -n "$LIBS" && echo " Libraries: ${LIBS}"
780 echo " 'ngircd' binary: $S"
781 echo " Configuration file: $C"
782 echo " Manual pages: $M"
783 echo " Documentation: $D"
786 echo $ECHO_N " Syslog support: $ECHO_C"
787 test "$x_syslog_on" = "yes" \
788 && echo $ECHO_N "yes $ECHO_C" \
789 || echo $ECHO_N "no $ECHO_C"
790 echo $ECHO_N " Enable debug code: $ECHO_C"
791 test "$x_debug_on" = "yes" \
795 echo $ECHO_N " zlib compression: $ECHO_C"
796 test "$x_zlib_on" = "yes" \
797 && echo $ECHO_N "yes $ECHO_C" \
798 || echo $ECHO_N "no $ECHO_C"
799 echo $ECHO_N " IRC sniffer: $ECHO_C"
800 test "$x_sniffer_on" = "yes" \
804 echo $ECHO_N " Use TCP Wrappers: $ECHO_C"
805 test "$x_tcpwrap_on" = "yes" \
806 && echo $ECHO_N "yes $ECHO_C" \
807 || echo $ECHO_N "no $ECHO_C"
808 echo $ECHO_N " Strict RFC mode: $ECHO_C"
809 test "$x_strict_rfc_on" = "yes" \
813 echo $ECHO_N " IDENT support: $ECHO_C"
814 test "$x_identauth_on" = "yes" \
815 && echo $ECHO_N "yes $ECHO_C" \
816 || echo $ECHO_N "no $ECHO_C"
817 echo $ECHO_N " IRC+ protocol: $ECHO_C"
818 test "$x_ircplus_on" = "yes" \
822 echo $ECHO_N " IPv6 protocol: $ECHO_C"
823 test "$x_ipv6_on" = "yes" \
824 && echo $ECHO_N "yes $ECHO_C" \
825 || echo $ECHO_N "no $ECHO_C"
826 echo $ECHO_N " I/O backend: $ECHO_C"
829 echo $ECHO_N " PAM support: $ECHO_C"
830 test "$x_pam_on" = "yes" \
831 && echo $ECHO_N "yes $ECHO_C" \
832 || echo $ECHO_N "no $ECHO_C"
833 echo $ECHO_N " SSL support: $ECHO_C"
836 echo $ECHO_N " libiconv support: $ECHO_C"
841 define(_automake_regex_,[[^AUTOMAKE_OPTIONS = [a-z .\-]*/portab/ansi2knr]])
842 if ! grep "_automake_regex_" src/ngircd/Makefile.am >/dev/null 2>&1; then
844 echo "This GNU automake generated build system does not support \"de-ANSI-fication\","
845 echo "therefore don't use it to generate \"official\" distribution archives!"
846 echo "(Most probably you want to use GNU automake 1.11.x for this purpose ...)"