about summary refs log tree commit diff
path: root/configure.in
AgeCommit message (Collapse)Author
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.
2008-08-13Enable GNU libc "memory tracing" when compiled with debug code.Alexander Barton
This patch lets ngIRCd activate "memory tracing" of the GNU libc when compiled with debug code (configure: --enable-debug) and the functionality is available on the system. (http://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html)
2008-08-12New make target: "osxpkg" to create an Mac OS X installer package.Alexander Barton
This patch adds a new make target, "osxpkg", to the main Makefile which gereates a Apple Mac OS X installer package of ngIRCd. The packagemaker(1) project bundle is stored in contrib/MacOSX/ngIRCd.pmdoc.
2008-07-09Revert "dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..]"Alexander Barton
- Solaris needs both -lsocket _and_ -lnsl - A/UX needs -lUTIL "... which totally sucks because we'd link libnsl on Linux, too (where its not needed at all). So, we have to figure out how to tell autocrap to NOT put -lnsl there unless it exports a symbol we need. This also means that [...] has to be reverted (or done properly)." -- Florian Westphal @ #ngircd This reverts commit 2b14234abc252383679bae2d23861b773dc9713e.
2008-07-09dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..]Florian Westphal
(they use none of its symbols). So, rip out that AC_CHECK_LIB cruft, pointed out by Christoph Biedl. If there are platforms that really need that we should only link when we actually use these libraries.
2008-05-26Use strtok_r instead of strchr in IRC_JOIN.Scott Perry
This patch does significant cleanup on the join code by using strtok_r instead of mangling strchr to parse channel names and keys in parallel when a JOIN command contains a list of channels and keys. Also adds an strtok_r implementation to libportab.
2008-05-25configure.in: don't check for "obvious" standard functions.Florian Westphal
Drop checks for the following C standard functions: malloc, memmove, memset, realloc, strchr, strcspn, strerror, strstr. Rationale: These are standard K&R/C89 functions, no point in ''making sure they exist''.
2008-05-13Update master development branchAlexander Barton
- use "dev" instead of "HEAD" as "version number", - update ChangeLog and NEWS to reflect the 0.12.0 release.
2008-04-29--enable-ipv6: fix indentation in ./configure --help output.Alexander Barton
2008-04-20Synchronized branch-0-12-x (ngIRCd 0.12.0-pre1) with master.Alexander Barton
(cherry picked from commit 4ea29329674ff8ec6d772991a57c146b5d78d2ad)
2008-04-09Include Mac OS X Xcode project in distribution archives.Alexander Barton
Oops, it has not been included since ... ages??
2008-02-26IPv6 support.Florian Westphal
all references to struct sockaddr/in_addr have been removed from src/ngircd. libngipaddr (in src/ipaddr/) hides all the gory details. See src/ipaddr/ng_ipaddr.h for API description.
2006-12-26New configure option "--without-select"; when usin epoll() IO API includeAlexander Barton
support for select() as well by default and fall back on runtime when needed.
2006-10-02add test for strcspn.Florian Westphal
2006-09-17Added support for the /dev/poll i/o interface.Florian Westphal
2006-09-16add support for the poll() interfaceFlorian Westphal
2006-09-09only test for stack smashing protector if we are using gcc;Florian Westphal
use -fstack-protector-all for the test to make sure the guard variable is added.
2006-08-13fix gcc 4.1 -fstack-protector detection.Florian Westphal
2006-08-05check if compiler supports inline keyword.Florian Westphal
2006-05-17Detect the Avahi "howl-compatibility" as well as Howl itself.Alexander Barton
2005-12-06Make clear that "IO backend: select" is not a request but a C API function.Alexander Barton
2005-08-30check if gcc supports -fstack-protectorFlorian Westphal
2005-07-22New subdirectory "doc/src" for the source code documentation.Alexander Barton
2005-07-08Renamed "Rendezvous" to "Zeroconf".Alexander Barton
2005-07-08Whitespace fixes.Alexander Barton
2005-07-07test for epoll and kqueue supportFlorian Westphal
2005-06-26Fixed wrong order of #includes in test for "socklen_t" (caused problems on ↵Alexander Barton
OpenBSD).
2005-05-21Added version information to summary text.Alexander Barton
2005-04-16check for strdup()Florian Westphal