about summary refs log tree commit diff
path: root/configure.in
AgeCommit message (Collapse)Author
2012-09-23Change build system to support new and old GNU automakeAlexander Barton
Starting with GNU automake 1.12, the "de-ANSI-fication support" has been removed, which ngIRCd used to enable building itself on very old systems. Now the problem is, that using automake >= 1.12 isn't working because of the now unsupported M4 macros. Therefore the solution that this patch implements is to dynamically generate the automake input files with our own ./autogen.sh script: configure.ng => configure.in Makefile.ng => Makefile.am This is quite an ugly approach, but it works and enables us to: 1. use current automake >= 1.12 for development and "private builds", 2. still build distribution archives using automake 1.11.x that have "de-ANSI-fication support" enabled in the generated Makefile's. And if you are using Makefile's generated with a automake version newer than 1.11.x (without "de-ANSI-fication support"), the ./configure script warns you not to use this generated build system to generate distribution archives. Drawback of this patch: you MUST use our autogen.sh script, you can't call the autoconf/automake commands directly any more; but autoreconf should still work ...
2012-09-15Don't use AC_FUNC_MALLOC and AC_FUNC_REALLOCAlexander Barton
We don't expect the GNU'ish behaviour of of malloc() and realloc() and never implemented the replacement functions rpl_malloc()/rpl_realloc() -- so these test result in linking failues on systems that don't have a GNU'ish malloc() and realloc() even though we don't require it! Introduced by commit 47ad9afc.
2012-09-13configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCEAlexander Barton
2012-09-13configure.in: use AC_SEARCH_LIBS (not AC_CHECK_LIB)Alexander Barton
Use the AC_SEARCH_LIBS macro to test for "sometimes but not always" required libraries, not AC_CHECK_LIB.
2012-09-13configure.in: use AS_HELP_STRING macroAlexander Barton
2012-09-13configure.in: use AC_CANONICAL_HOST (not AC_CANONICAL_TARGET)Alexander Barton
See the autoconf manual for details: http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets
2012-09-12configure.in: inttypes.h is an optional header fileAlexander Barton
2012-09-11configure.in: Use AC_CONFIG_FILES macroAlexander Barton
2012-09-11configure.in: Don't use AC_C_PROTOTYPESAlexander Barton
Don't use AC_C_PROTOTYPES, AM_C_PROTOTYPES is already used.
2012-09-11configure.in: Update checks for required and optional featuresAlexander Barton
Update checks for required and optional header files, data types, and functions.
2012-09-11configure.in: require autoconf 2.67 and automake 1.11Alexander Barton
And use newer features such as bug reporting address and project URL.
2012-09-11configure.in: sort some lists (templates, output, ...)Alexander Barton
2012-08-11configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADERAlexander Barton
AM_CONFIG_HEADER is marked obsolete and will be removed in Automake 1.13.
2011-12-30Fixed some spelling errors in documentation and code commentsAlexander Barton
Thanks to Christoph Biedl!
2011-12-05./configure: Fix logic and quoting of poll() detection codeAlexander Barton
This fixes commit 8e193df ...
2011-11-25Not only check for poll(), make sure poll.h exists as wellAlexander Barton
This fixes building ngIRCd on Debian GNU/Linux 1.3 "Bo" :-)
2011-11-06Test for gai_strerror()Alexander Barton
If gai_strerror() isn't available, use a macro that simply returns a static error message (regardless of the real error code). For example, GNU libc 2.0.7 doesn't implement gai_strerror().
2011-07-10Add preliminary ngIRCd protocol module for Anope 1.9Alexander Barton
See contrib/Anope/README and doc/Services.txt for more details and installation instructions!
2011-01-18conf: fix 'Value of "..." is not a number!' for negative valuesAlexander Barton
Don't use isdigit() function any more, because it only checks the first character of the variable value and because it doesn't know about the minus sign which is required e.g. for "Group = -1".
2011-01-09Remove support for ZeroConf/Bonjour/Rendezvous service registrationAlexander Barton
2010-10-24Generate ngIRCd version number from GIT tagAlexander Barton
Now the ngIRCd release/version number is deduced from the "current" annotated GIT tag; see "git describe --help" for details. This is the same scheme the Linux kernel uses and gives much more details version numbers for interim releases and inofficial source archives generated using "make dist". Please note: the version number is only updated it the autogen.sh script is run; so after pulling in and pushing out new commits, you should run ./autogen.sh!
2010-10-24./configure: check if C compiler can compile ISO Standard CAlexander Barton
This is required for enabling ansi2knr on systems that don't have an ANSI C compiler installed (e.g. on A/UX with Apple standard C compiler).
2010-10-24./configure: check support for C prototypes againAlexander Barton
2010-10-11ngIRCd release 17~rc1 rel-17-rc1Alexander Barton
2010-09-14Bump version number to "17-dev"Alexander Barton
2010-09-11Add new 'delayed' signal handlers.Florian Westphal
Allows to defer/queue signal processing for execution on the next event dispatch call, i.e. we can perform any signal action in normal, non-signal context. Example uses: - Reload everything on HUP without writing a global "SIGHUP_received" variable - Dump status of internal Lists on SIGUSR1, etc.
2010-08-25configure: correctly indent IPv6 yes/no summary outputAlexander Barton
2010-08-17Make configure switch "--docdir" work (closes: #108)Alexander Barton
2010-07-11Detect PAM librariesAlexander Barton
2010-06-09Include correct header files when testing for arpa/inet.h (Closes: #105)Alexander Barton
Tested on OpenBSD 4.7, OpenBSD 4.1, FreeBSD 8, Linux and Mac OS X. Thanks to rck <dev.rck@gmail.com> for reporting and testing!
2010-06-09Revert "configure: make implicit declarations fatal"Florian Westphal
This reverts commit b3a6c33da0b12ba74dc395979b677813d4bc2c0f. apparently not all gcc versions support this 8-(
2010-06-09configure: make implicit declarations fatalFlorian Westphal
from bugzilla #105: "ngircd-16 works great under openbsd4.7/i386, but it segfaults on openbsd4.7/amd64." Caused by missing function prototypes and the resulting truncation of pointer to int. Lets try to catch these bugs during compilation instead of SIGSEGV.
2010-05-02ngIRCd release 16 rel-16Alexander Barton
2010-04-25ngIRCd release 16~rc2 rel-16-rc2Alexander Barton
2010-04-23Include netinet/{in.h, in_systm.h} when checking for netinet/ip.hAlexander Barton
This solves warning messages of autoconf on e.g. FreeBSD 8: configure: WARNING: netinet/ip.h: present but cannot be compiled configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
2010-03-25ngIRCd release 16~rc1 rel-16-rc1Alexander Barton
2010-02-17configure.in: only add -lnsl when neededFlorian Westphal
dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..] (they use none of its symbols). As shown via commit 2b14234abc252383679bae2d23861b773dc9713e (dpkg-shlibdeps: warning: dependency on libnsl.so.1) and the following revert of that commit, we cannot simply drop the AC_CHECK_LIB(nsl). Although -lnsl is indeed unneeded when glibc is used, some platforms (e.g. Solaris) need it. Use AC_SEARCH_LIBS instead to only link when the library exports a particular symbol.
2009-12-31Really test for netinet/ip.h and set HAVE_NETINET_IP_HAlexander Barton
2009-11-07ngIRCd release 15Alexander Barton
2009-10-15ngIRCd release 15~rc1 rel-15-rc1Alexander Barton
2009-09-14Check for sockaddr_in.sin_len and initialize itAlexander Barton
Test for sockaddr_in.sin_len and initialize it to the correct value which some systems (notably Mac OS X) require. Note: this code path is only relevant when not using getaddrinfo().
2009-09-14Always use get{addr|name}info() when availableAlexander Barton
Both getaddrinfo() and getnameinfo() are now used always when available, and not only when compiling ngIRCd with support for IPv6. This not only enables ngIRCd to handle multiple addresses per hostname when compiled without support for IPv6, but fixes binding ngIRCd to IP addresses on Mac OS X (and probably other BSD-based systems) as well: these systems require that sockaddr_in is zeroed out and sockaddr_in.sin_len is set to sizeof(sockaddr_in) like that: src/ipaddr/ng_ipaddr.c, line 54: assert(ip_str); + memset(addr, 0, sizeof *addr); + addr->sin4.sin_len = sizeof(addr->sin4); addr->sin4.sin_family = AF_INET; But this would break all the systems not using sockaddr_in.sin_len, for example Linux -- so we assume that all these systems provide getaddrinfo() and use that for now.
2009-09-02Fix --with-{openssl|gnutls} to accept path namesAlexander Barton
This patch fixes --with-openssl and --with-gnutls and enables both to accept path names, so that you can use "./configure --with-XXX=/path". All the other --with-XXX parameters support this already.
2009-08-16Use AM_SILENT_RULES([yes]), if availableAlexander Barton
Starting with GNU automake 1.11 "AM_SILENT_RULES([yes])" is available to make the build process less verbose ("Linux 2.6 style") which helps to spot warning and error messages. So we use it if it is available.
2009-05-05ngIRCd release 14.1Alexander Barton
2009-04-20ngIRCd release 14 rel-14Alexander Barton
2009-03-29ngIRCd release 14~rc1 rel-14-rc1Alexander Barton
2008-12-25ngIRCd release 13 rel-13Alexander Barton
2008-11-21ngIRCd release 13~rc1 rel-13-rc1Alexander Barton
2008-09-13TLS/SSL support: code changes.Florian Westphal
This adds the required code to enable ssl/tls support during compile and run time, respectively.