Module: ngircd.git
Branch: master
Commit: 107bfdc821cfb179996e1186cff0ec4970ef4fbd
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=107bfdc8…
Author: Alexander Barton <alex(a)barton.de>
Date: Sun Sep 16 13:05:23 2012 +0200
Merge branch 'autoconf-update'
Update GNU autoconf and automake infrastructure.
Tested on modern systems as well as Apple A/UX :-)
* autoconf-update:
AUTOMAKE_OPTIONS: fix ansi2knr option, include path
Don't use AC_FUNC_MALLOC and AC_FUNC_REALLOC
Make our own targets "silent", if enabled
configure.in: use AC_CHECK_{FUNCS|HEADERS}_ONCE
Updated config.{guess|sub} to version 2012-08-14
Make autogen.sh more verbose when VERBOSE=1 is set
configure.in: use AC_SEARCH_LIBS (not AC_CHECK_LIB)
configure.in: use AS_HELP_STRING macro
configure.in: use AC_CANONICAL_HOST (not AC_CANONICAL_TARGET)
configure.in: inttypes.h is an optional header file
Use HAVE_SETSID #define when testing for setsid()
Don't include <stdint.h>, it is included by "portab.h"
Don't check type.h availability, it is required
configure.in: Use AC_CONFIG_FILES macro
configure.in: Don't use AC_C_PROTOTYPES
configure.in: Update checks for required and optional features
configure.in: require autoconf 2.67 and automake 1.11
configure.in: sort some lists (templates, output, ...)
---
Module: ngircd.git
Branch: master
Commit: 5c160921ff898653666e72eb2e6c33575ada9672
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=5c160921…
Author: Alexander Barton <alex(a)barton.de>
Date: Sun Sep 16 12:43:12 2012 +0200
AUTOMAKE_OPTIONS: fix ansi2knr option, include path
Set correct relative path to ansi2knr.c in AUTOMAKE_OPTIONS, so that
ansi2knr.{1|c} is only included once in the distribution archive.
---
src/ipaddr/Makefile.am | 7 ++++++-
src/tool/Makefile.am | 6 ++----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/ipaddr/Makefile.am b/src/ipaddr/Makefile.am
index fcbb7cf..6ce299f 100644
--- a/src/ipaddr/Makefile.am
+++ b/src/ipaddr/Makefile.am
@@ -1,4 +1,9 @@
-AUTOMAKE_OPTIONS = ansi2knr
+#
+# ipaddr/Makefile.am
+# (c) 2008 Florian Westphal <fw(a)strlen.de>, public domain.
+#
+
+AUTOMAKE_OPTIONS = ../portab/ansi2knr
INCLUDES = -I$(srcdir)/../portab
diff --git a/src/tool/Makefile.am b/src/tool/Makefile.am
index 5f1e97a..8d6cda4 100644
--- a/src/tool/Makefile.am
+++ b/src/tool/Makefile.am
@@ -1,6 +1,6 @@
#
# ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001,2002 by Alexander Barton (alex(a)barton.de)
+# Copyright (c)2001-2012 Alexander Barton (alex(a)barton.de) and Contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -8,10 +8,8 @@
# (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information.
#
-# $Id: Makefile.am,v 1.1 2003/01/13 12:20:16 alex Exp $
-#
-AUTOMAKE_OPTIONS = ansi2knr
+AUTOMAKE_OPTIONS = ../portab/ansi2knr
INCLUDES = -I$(srcdir)/../portab
Module: ngircd.git
Branch: master
Commit: fe3bef55b75c5fbfbf87b098cbc61453b718435e
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=fe3bef55…
Author: Alexander Barton <alex(a)barton.de>
Date: Sat Sep 15 20:26:59 2012 +0200
Don't use AC_FUNC_MALLOC and AC_FUNC_REALLOC
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.
---
configure.in | 2 --
1 file changed, 2 deletions(-)
diff --git a/configure.in b/configure.in
index 23b50cd..949a383 100644
--- a/configure.in
+++ b/configure.in
@@ -163,8 +163,6 @@ AC_SEARCH_LIBS([bind], [socket], [], [
# -- Functions --
AC_FUNC_FORK
-AC_FUNC_MALLOC
-AC_FUNC_REALLOC
AC_FUNC_STRFTIME
# Required functions
Module: ngircd.git
Branch: master
Commit: a451cb22f1906de2c0ed354b1e79eaae654b3abd
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=a451cb22…
Author: Alexander Barton <alex(a)barton.de>
Date: Thu Sep 13 00:25:09 2012 +0200
configure.in: use AS_HELP_STRING macro
---
configure.in | 51 ++++++++++++++++++++++++++++++++++-----------------
1 file changed, 34 insertions(+), 17 deletions(-)
diff --git a/configure.in b/configure.in
index 0f6af2a..5be4a54 100644
--- a/configure.in
+++ b/configure.in
@@ -179,7 +179,8 @@ AC_CHECK_FUNCS([ \
x_syslog_on=no
AC_ARG_WITH(syslog,
- [ --without-syslog disable syslog (autodetected by default)],
+ AS_HELP_STRING([--without-syslog],
+ [disable syslog (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -206,7 +207,8 @@ fi
x_zlib_on=no
AC_ARG_WITH(zlib,
- [ --without-zlib disable zlib compression (autodetected by default)],
+ AS_HELP_STRING([--without-zlib],
+ [disable zlib compression (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -233,7 +235,8 @@ fi
x_io_backend=none
AC_ARG_WITH(select,
- [ --without-select disable select IO support (autodetected by default)],
+ AS_HELP_STRING([--without-select],
+ [disable select IO support (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -251,7 +254,8 @@ AC_ARG_WITH(select,
)
AC_ARG_WITH(poll,
- [ --without-poll disable poll support (autodetected by default)],
+ AS_HELP_STRING([--without-poll],
+ [disable poll support (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -277,7 +281,8 @@ AC_ARG_WITH(poll,
)
AC_ARG_WITH(devpoll,
- [ --without-devpoll disable /dev/poll IO support (autodetected by default)],
+ AS_HELP_STRING([--without-devpoll],
+ [disable /dev/poll IO support (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -294,7 +299,8 @@ AC_ARG_WITH(devpoll,
)
AC_ARG_WITH(epoll,
- [ --without-epoll disable epoll IO support (autodetected by default)],
+ AS_HELP_STRING([--without-epoll],
+ [disable epoll IO support (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -312,7 +318,8 @@ AC_ARG_WITH(epoll,
)
AC_ARG_WITH(kqueue,
- [ --without-kqueue disable kqueue IO support (autodetected by default)],
+ AS_HELP_STRING([--without-kqueue],
+ [disable kqueue IO support (autodetected by default)]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -352,7 +359,8 @@ fi
# use SSL?
AC_ARG_WITH(openssl,
- [ --with-openssl enable SSL support using OpenSSL],
+ AS_HELP_STRING([--with-openssl],
+ [enable SSL support using OpenSSL]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -369,7 +377,8 @@ AC_ARG_WITH(openssl,
)
AC_ARG_WITH(gnutls,
- [ --with-gnutls enable SSL support using gnutls],
+ AS_HELP_STRING([--with-gnutls],
+ [enable SSL support using gnutls]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -399,7 +408,8 @@ fi
x_tcpwrap_on=no
AC_ARG_WITH(tcp-wrappers,
- [ --with-tcp-wrappers enable TCP wrappers support],
+ AS_HELP_STRING([--with-tcp-wrappers],
+ [enable TCP wrappers support]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -430,7 +440,8 @@ int deny_severity = 0;
x_identauth_on=no
AC_ARG_WITH(ident,
- [ --with-ident enable "IDENT" ("AUTH") protocol support],
+ AS_HELP_STRING([--with-ident],
+ [enable "IDENT" ("AUTH") protocol support]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -453,7 +464,8 @@ fi
x_pam_on=no
AC_ARG_WITH(pam,
- [ --with-pam enable user authentication using PAM],
+ AS_HELP_STRING([--with-pam],
+ [enable user authentication using PAM]),
[ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
@@ -480,7 +492,8 @@ fi
x_ircplus_on=yes
AC_ARG_ENABLE(ircplus,
- [ --disable-ircplus disable IRC+ protocol],
+ AS_HELP_STRING([--disable-ircplus],
+ [disable IRC+ protocol]),
if test "$enableval" = "no"; then x_ircplus_on=no; fi
)
if test "$x_ircplus_on" = "yes"; then
@@ -490,7 +503,8 @@ fi
# enable support for IPv6?
x_ipv6_on=no
AC_ARG_ENABLE(ipv6,
- [ --enable-ipv6 enable IPv6 protocol support],
+ AS_HELP_STRING([--enable-ipv6],
+ [enable IPv6 protocol support]),
if test "$enableval" = "yes"; then x_ipv6_on=yes; fi
)
if test "$x_ipv6_on" = "yes"; then
@@ -506,7 +520,8 @@ fi
x_sniffer_on=no; x_debug_on=no
AC_ARG_ENABLE(sniffer,
- [ --enable-sniffer enable IRC traffic sniffer (enables debug mode)],
+ AS_HELP_STRING([--enable-sniffer],
+ [enable IRC traffic sniffer (enables debug mode)]),
if test "$enableval" = "yes"; then
AC_DEFINE(SNIFFER, 1)
x_sniffer_on=yes; x_debug_on=yes
@@ -516,7 +531,8 @@ AC_ARG_ENABLE(sniffer,
# enable additional debugging code?
AC_ARG_ENABLE(debug,
- [ --enable-debug show additional debug output],
+ AS_HELP_STRING([--enable-debug],
+ [show additional debug output]),
if test "$enableval" = "yes"; then x_debug_on=yes; fi
)
if test "$x_debug_on" = "yes"; then
@@ -529,7 +545,8 @@ fi
x_strict_rfc_on=no
AC_ARG_ENABLE(strict-rfc,
- [ --enable-strict-rfc strict RFC conformance -- may break clients!],
+ AS_HELP_STRING([--enable-strict-rfc],
+ [strict RFC conformance -- may break clients!]),
if test "$enableval" = "yes"; then
AC_DEFINE(STRICT_RFC, 1)
x_strict_rfc_on=yes