2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2014 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 ]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>
105 main(int argc, char **argv)
107 struct addrinfo hints, *ai;
108 memset(&hints, 0, sizeof(hints));
109 hints.ai_flags = AI_PASSIVE;
110 hints.ai_socktype = SOCK_STREAM;
111 hints.ai_family = PF_UNSPEC;
112 if(getaddrinfo(NULL, "0", &hints, &ai) != 0)
117 AC_DEFINE([HAVE_WORKING_GETADDRINFO], 1, [getaddrinfo(0)])
127 # -- Hard coded system and compiler dependencies/features/options ... --
129 if test "$GCC" = "yes"; then
130 # We are using the GNU C compiler. Good!
131 CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes"
138 # This is HP/UX, we need to define _XOPEN_SOURCE_EXTENDED
139 # (tested with HP/UX 11.11)
140 CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
144 # Add additional CFLAGS, eventually specified on the command line:
145 test -n "$CFLAGS_ADD" && CFLAGS="$CFLAGS $CFLAGS_ADD"
147 CFLAGS="$CFLAGS -DSYSCONFDIR='\"\$(sysconfdir)\"' -DDOCDIR='\"\$(docdir)\"'"
155 # Required header files
167 ],,AC_MSG_ERROR([required C header missing!]))
169 # Optional header files
170 AC_CHECK_HEADERS_ONCE([ \
184 AC_MSG_CHECKING(whether socklen_t exists)
185 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
186 #include <sys/types.h>
187 #include <sys/socket.h>
190 a = 2; b = 4; a += b;
192 AC_DEFINE(HAVE_socklen_t) AC_MSG_RESULT(yes)
205 AC_CHECK_MEMBER([struct sockaddr_in.sin_len], AC_DEFINE(HAVE_sockaddr_in_len),,
206 [#include <arpa/inet.h>])
210 # memmove: A/UX libUTIL
211 AC_SEARCH_LIBS([memmove], [UTIL], [], [
212 AC_MSG_ERROR([unable to find the memmove() function])
214 # gethostbyname: Solaris libnsl
215 AC_SEARCH_LIBS([gethostbyname], [bind nsl network], [], [
216 AC_MSG_ERROR([unable to find the gethostbyname() function])
218 # bind: SVR4 libsocket
219 AC_SEARCH_LIBS([bind], [socket network], [], [
220 AC_MSG_ERROR([unable to find the bind() function])
251 AC_MSG_ERROR([required function missing!]))
254 AC_CHECK_FUNCS_ONCE([
277 # -- Configuration options --
283 AS_HELP_STRING([--without-syslog],
284 [disable syslog (autodetected by default)]),
285 [ if test "$withval" != "no"; then
286 if test "$withval" != "yes"; then
287 CFLAGS="-I$withval/include $CFLAGS"
288 CPPFLAGS="-I$withval/include $CPPFLAGS"
289 LDFLAGS="-L$withval/lib $LDFLAGS"
291 AC_SEARCH_LIBS([syslog], [be], [x_syslog_on=yes], [
292 AC_MSG_ERROR([Can't enable syslog!])
296 [ AC_SEARCH_LIBS([syslog], [be], [x_syslog_on=yes])
299 if test "$x_syslog_on" = "yes"; then
301 AC_CHECK_HEADERS(syslog.h,,AC_MSG_ERROR([required C header missing!]))
304 # use zlib compression?
308 AS_HELP_STRING([--without-zlib],
309 [disable zlib compression (autodetected by default)]),
310 [ if test "$withval" != "no"; then
311 if test "$withval" != "yes"; then
312 CFLAGS="-I$withval/include $CFLAGS"
313 CPPFLAGS="-I$withval/include $CPPFLAGS"
314 LDFLAGS="-L$withval/lib $LDFLAGS"
316 AC_CHECK_LIB(z, deflate)
317 AC_CHECK_FUNCS(deflate, x_zlib_on=yes,
318 AC_MSG_ERROR([Can't enable zlib!])
322 [ AC_CHECK_LIB(z, deflate)
323 AC_CHECK_FUNCS(deflate, x_zlib_on=yes)
326 if test "$x_zlib_on" = "yes"; then
328 AC_CHECK_HEADERS(zlib.h,,AC_MSG_ERROR([required C header missing!]))
331 # detect which IO API to use:
336 AS_HELP_STRING([--without-select],
337 [disable select IO support (autodetected by default)]),
338 [ if test "$withval" != "no"; then
339 if test "$withval" != "yes"; then
340 CFLAGS="-I$withval/include $CFLAGS"
341 CPPFLAGS="-I$withval/include $CPPFLAGS"
342 LDFLAGS="-L$withval/lib $LDFLAGS"
344 AC_CHECK_FUNCS(select, x_io_select=yes,
345 AC_MSG_ERROR([Can't enable select IO support!])
350 AC_CHECK_FUNCS(select, x_io_select=yes)
355 AS_HELP_STRING([--without-poll],
356 [disable poll 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(poll, [
364 AC_CHECK_HEADERS(poll.h,
365 x_io_backend=poll\(\),
367 [Can't enable poll IO support!])
370 AC_MSG_ERROR([Can't enable poll IO support!])
375 AC_CHECK_FUNCS(poll, [
376 AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\))
382 AS_HELP_STRING([--without-devpoll],
383 [disable /dev/poll IO support (autodetected by default)]),
384 [ if test "$withval" != "no"; then
385 if test "$withval" != "yes"; then
386 CFLAGS="-I$withval/include $CFLAGS"
387 CPPFLAGS="-I$withval/include $CPPFLAGS"
388 LDFLAGS="-L$withval/lib $LDFLAGS"
391 AC_CHECK_HEADERS(sys/devpoll.h,,AC_MSG_ERROR([required C header missing!]))
395 AC_CHECK_HEADERS(sys/devpoll.h, x_io_backend=/dev/poll)
400 AS_HELP_STRING([--without-epoll],
401 [disable epoll IO support (autodetected by default)]),
402 [ if test "$withval" != "no"; then
403 if test "$withval" != "yes"; then
404 CFLAGS="-I$withval/include $CFLAGS"
405 CPPFLAGS="-I$withval/include $CPPFLAGS"
406 LDFLAGS="-L$withval/lib $LDFLAGS"
408 AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes,
409 AC_MSG_ERROR([Can't enable epoll IO support!])
414 AC_CHECK_FUNCS(epoll_create, x_io_epoll=yes)
419 AS_HELP_STRING([--without-kqueue],
420 [disable kqueue 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(kqueue, x_io_backend=kqueue\(\),
428 AC_MSG_ERROR([Can't enable kqueue IO support!])
433 AC_CHECK_FUNCS(kqueue, x_io_backend=kqueue\(\))
437 if test "$x_io_epoll" = "yes" -a "$x_io_select" = "yes"; then
438 # when epoll() and select() are available, we'll use both!
439 x_io_backend="epoll(), select()"
441 if test "$x_io_epoll" = "yes"; then
442 # we prefere epoll() if it is available
443 x_io_backend="epoll()"
445 if test "$x_io_select" = "yes" -a "$x_io_backend" = "none"; then
446 # we'll use select, when available and no "better"
447 # interface has been detected ...
448 x_io_backend="select()"
453 if test "$x_io_backend" = "none"; then
454 AC_MSG_ERROR([No useable IO API activated/found!?])
460 AS_HELP_STRING([--with-openssl],
461 [enable SSL support using OpenSSL]),
462 [ if test "$withval" != "no"; then
463 if test "$withval" != "yes"; then
464 CFLAGS="-I$withval/include $CFLAGS"
465 CPPFLAGS="-I$withval/include $CPPFLAGS"
466 LDFLAGS="-L$withval/lib $LDFLAGS"
468 PKG_CHECK_MODULES([OPENSSL], [libssl libcrypto],
469 [LIBS="$LIBS $OPENSSL_LIBS" CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
470 AC_DEFINE(HAVE_LIBSSL, 1)],
471 [AC_CHECK_LIB(crypto, BIO_s_mem)
472 AC_CHECK_LIB(ssl, SSL_new)]
474 AC_CHECK_FUNCS(SSL_new, x_ssl_openssl=yes,
475 AC_MSG_ERROR([Can't enable openssl])
482 AS_HELP_STRING([--with-gnutls],
483 [enable SSL support using gnutls]),
484 [ if test "$withval" != "no"; then
485 if test "$withval" != "yes"; then
486 CFLAGS="-I$withval/include $CFLAGS"
487 CPPFLAGS="-I$withval/include $CPPFLAGS"
488 LDFLAGS="-L$withval/lib $LDFLAGS"
490 AC_CHECK_LIB(gnutls, gnutls_global_init)
491 AC_CHECK_FUNCS(gnutls_global_init, x_ssl_gnutls=yes,
492 AC_MSG_ERROR([Can't enable gnutls])
499 if test "$x_ssl_gnutls" = "yes"; then
500 if test "$x_ssl_openssl" = "yes";then
501 AC_MSG_ERROR([Cannot enable both gnutls and openssl])
505 if test "$x_ssl_openssl" = "yes"; then
512 AC_ARG_WITH(tcp-wrappers,
513 AS_HELP_STRING([--with-tcp-wrappers],
514 [enable TCP wrappers support]),
515 [ if test "$withval" != "no"; then
516 if test "$withval" != "yes"; then
517 CFLAGS="-I$withval/include $CFLAGS"
518 CPPFLAGS="-I$withval/include $CPPFLAGS"
519 LDFLAGS="-L$withval/lib $LDFLAGS"
521 AC_MSG_CHECKING(for hosts_access)
524 LIBS_END="-lwrap $LIBS_END"
525 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
526 #include <sys/types.h>
527 #include <sys/socket.h>
529 int allow_severity = 0;
530 int deny_severity = 0;
532 tcpd_warn("link test");
535 AC_DEFINE(TCPWRAP, 1)
539 AC_MSG_ERROR([Can't enable TCP wrappers!])
546 # do IDENT requests using libident?
550 AS_HELP_STRING([--with-ident],
551 [enable "IDENT" ("AUTH") protocol support]),
552 [ if test "$withval" != "no"; then
553 if test "$withval" != "yes"; then
554 CFLAGS="-I$withval/include $CFLAGS"
555 CPPFLAGS="-I$withval/include $CPPFLAGS"
556 LDFLAGS="-L$withval/lib $LDFLAGS"
558 AC_CHECK_LIB(ident, ident_id)
559 AC_CHECK_FUNCS(ident_id, x_identauth_on=yes,
560 AC_MSG_ERROR([Can't enable IDENT support!])
565 if test "$x_identauth_on" = "yes"; then
566 AC_DEFINE(IDENTAUTH, 1)
567 AC_CHECK_HEADERS(ident.h,,AC_MSG_ERROR([required C header missing!]))
570 # compile in PAM support?
574 AS_HELP_STRING([--with-pam],
575 [enable user authentication using PAM]),
576 [ if test "$withval" != "no"; then
577 if test "$withval" != "yes"; then
578 CFLAGS="-I$withval/include $CFLAGS"
579 CPPFLAGS="-I$withval/include $CPPFLAGS"
580 LDFLAGS="-L$withval/lib $LDFLAGS"
582 AC_CHECK_LIB(pam, pam_authenticate)
583 AC_CHECK_FUNCS(pam_authenticate, x_pam_on=yes,
584 AC_MSG_ERROR([Can't enable PAM support!])
589 if test "$x_pam_on" = "yes"; then
591 AC_CHECK_HEADERS(security/pam_appl.h,pam_ok=yes)
592 if test "$pam_ok" != "yes"; then
593 AC_CHECK_HEADERS(pam/pam_appl.h,pam_ok=yes,
594 AC_MSG_ERROR([required C header missing!]))
598 # compile in IRC+ protocol support?
601 AC_ARG_ENABLE(ircplus,
602 AS_HELP_STRING([--disable-ircplus],
603 [disable IRC+ protocol]),
604 if test "$enableval" = "no"; then x_ircplus_on=no; fi
606 if test "$x_ircplus_on" = "yes"; then
607 AC_DEFINE(IRCPLUS, 1)
609 # Compile in iconv support?
610 # We only check for it when IRC+ is enabled, because the IRC+ command
611 # CHARCONV is the only function depending on it.
614 AS_HELP_STRING([--with-iconv],
615 [enable character conversion using libiconv]),
616 [ if test "$withval" != "no"; then
617 if test "$withval" != "yes"; then
618 CFLAGS="-I$withval/include $CFLAGS"
619 CPPFLAGS="-I$withval/include $CPPFLAGS"
620 LDFLAGS="-L$withval/lib $LDFLAGS"
622 AC_CHECK_LIB(iconv, iconv_open)
623 AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes)
624 if test "$x_iconv_on" != "yes"; then
625 AC_CHECK_LIB(iconv, libiconv_open)
626 AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes)
628 if test "$x_iconv_on" != "yes"; then
629 AC_MSG_ERROR([Can't enable libiconv support!])
633 if test "$x_iconv_on" = "yes"; then
638 # enable support for IPv6?
641 AS_HELP_STRING([--enable-ipv6],
642 [enable IPv6 protocol support]),
643 if test "$enableval" = "yes"; then x_ipv6_on=yes; fi
645 if test "$x_ipv6_on" = "yes"; then
646 # getaddrinfo() and getnameinfo() are optional when not compiling
647 # with IPv6 support, but are required for IPv6 to work!
649 getaddrinfo getnameinfo \
650 ],,AC_MSG_ERROR([required function missing for IPv6 support!]))
651 AC_DEFINE(WANT_IPV6, 1)
654 # compile in IRC "sniffer"?
656 x_sniffer_on=no; x_debug_on=no
657 AC_ARG_ENABLE(sniffer,
658 AS_HELP_STRING([--enable-sniffer],
659 [enable IRC traffic sniffer (enables debug mode)]),
660 if test "$enableval" = "yes"; then
661 AC_DEFINE(SNIFFER, 1)
662 x_sniffer_on=yes; x_debug_on=yes
666 # enable additional debugging code?
669 AS_HELP_STRING([--enable-debug],
670 [show additional debug output]),
671 if test "$enableval" = "yes"; then x_debug_on=yes; fi
673 if test "$x_debug_on" = "yes"; then
675 test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS"
676 AC_CHECK_FUNCS(mtrace)
679 # enable "strict RFC rules"?
682 AC_ARG_ENABLE(strict-rfc,
683 AS_HELP_STRING([--enable-strict-rfc],
684 [strict RFC conformance -- may break clients!]),
685 if test "$enableval" = "yes"; then
686 AC_DEFINE(STRICT_RFC, 1)
693 AC_DEFINE_UNQUOTED(HOST_CPU, "$host_cpu" )
694 AC_DEFINE_UNQUOTED(HOST_VENDOR, "$host_vendor" )
695 AC_DEFINE_UNQUOTED(HOST_OS, "$host_os" )
697 # Add additional CFLAGS, LDFLAGS and LIBS which were specified on the command
698 # line or by some tests from above, but after running this script. Useful for
699 # adding "-Werror", for example:
700 test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END"
701 test -n "$LDFLAGS_END" && LDFLAGS="$LDFLAGS $LDFLAGS_END"
702 test -n "$LIBS_END" && LIBS="$LIBS $LIBS_END"
704 # -- Generate files --
708 contrib/Debian/Makefile \
709 contrib/MacOSX/Makefile \
710 contrib/MacOSX/ngIRCd.pmdoc/Makefile \
711 contrib/MacOSX/ngIRCd.xcodeproj/Makefile \
716 src/ipaddr/Makefile \
718 src/ngircd/Makefile \
719 src/portab/Makefile \
720 src/testsuite/Makefile \
726 type dpkg >/dev/null 2>&1
727 if test $? -eq 0; then
728 # Generate debian/ link if the dpkg command exists
729 # (read: if we are running on a debian compatible system)
730 echo "creating Debian-specific links ..."
731 if test ! -f debian/rules -a -f contrib/Debian/rules; then
732 ln -s contrib/Debian debian
739 echo "ngIRCd $PACKAGE_VERSION has been configured with the following options:"
742 # Someone please show me a better way :) [borrowed by OpenSSH]
743 B=`eval echo ${bindir}` ; B=`eval echo ${B}`
744 S=`eval echo ${sbindir}` ; S=`eval echo ${S}`
745 C=`eval echo ${sysconfdir}` ; C=`eval echo ${C}`
746 M=`eval echo ${mandir}` ; M=`eval echo ${M}`
747 D=`eval echo ${docdir}` ; D=`eval echo ${D}`
749 echo " Host: ${host}"
750 echo " Compiler: ${CC}"
751 test -n "$CFLAGS" && echo " Compiler flags: ${CFLAGS}"
752 test -n "$CPPFLAGS" && echo " Preprocessor flags: ${CPPFLAGS}"
753 test -n "$LDFLAGS" && echo " Linker flags: ${LDFLAGS}"
754 test -n "$LIBS" && echo " Libraries: ${LIBS}"
756 echo " 'ngircd' binary: $S"
757 echo " Configuration file: $C"
758 echo " Manual pages: $M"
759 echo " Documentation: $D"
762 echo $ECHO_N " Syslog support: $ECHO_C"
763 test "$x_syslog_on" = "yes" \
764 && echo $ECHO_N "yes $ECHO_C" \
765 || echo $ECHO_N "no $ECHO_C"
766 echo $ECHO_N " Enable debug code: $ECHO_C"
767 test "$x_debug_on" = "yes" \
771 echo $ECHO_N " zlib compression: $ECHO_C"
772 test "$x_zlib_on" = "yes" \
773 && echo $ECHO_N "yes $ECHO_C" \
774 || echo $ECHO_N "no $ECHO_C"
775 echo $ECHO_N " IRC sniffer: $ECHO_C"
776 test "$x_sniffer_on" = "yes" \
780 echo $ECHO_N " Use TCP Wrappers: $ECHO_C"
781 test "$x_tcpwrap_on" = "yes" \
782 && echo $ECHO_N "yes $ECHO_C" \
783 || echo $ECHO_N "no $ECHO_C"
784 echo $ECHO_N " Strict RFC mode: $ECHO_C"
785 test "$x_strict_rfc_on" = "yes" \
789 echo $ECHO_N " IDENT support: $ECHO_C"
790 test "$x_identauth_on" = "yes" \
791 && echo $ECHO_N "yes $ECHO_C" \
792 || echo $ECHO_N "no $ECHO_C"
793 echo $ECHO_N " IRC+ protocol: $ECHO_C"
794 test "$x_ircplus_on" = "yes" \
798 echo $ECHO_N " IPv6 protocol: $ECHO_C"
799 test "$x_ipv6_on" = "yes" \
800 && echo $ECHO_N "yes $ECHO_C" \
801 || echo $ECHO_N "no $ECHO_C"
802 echo $ECHO_N " I/O backend: $ECHO_C"
805 echo $ECHO_N " PAM support: $ECHO_C"
806 test "$x_pam_on" = "yes" \
807 && echo $ECHO_N "yes $ECHO_C" \
808 || echo $ECHO_N "no $ECHO_C"
809 echo $ECHO_N " SSL support: $ECHO_C"
812 echo $ECHO_N " libiconv support: $ECHO_C"
817 define(_automake_regex_,[[^AUTOMAKE_OPTIONS = [a-z .\-]*/portab/ansi2knr]])
818 if ! grep "_automake_regex_" src/ngircd/Makefile.am >/dev/null 2>&1; then
820 echo "This GNU automake generated build system does not support \"de-ANSI-fication\","
821 echo "therefore don't use it to generate \"official\" distribution archives!"
822 echo "(Most probably you want to use GNU automake 1.11.x for this purpose ...)"