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