# Please read the file COPYING, README and AUTHORS for more information.
#
- define(VERSION_ID,esyscmd(git describe|sed -e 's/rel-//g'|sed -e 's/-/~/'|tr -d \\n))
+ define(VERSION_ID,esyscmd([
+ V=`git describe 2>/dev/null | sed -e 's/rel-//g' | sed -e 's/-/~/'`;
+ [ -z "$V" -a -r configure ] \
+ && V=`grep "PACKAGE_STRING=" configure | cut -d"'" -f2 | cut -d' ' -f2`
+ ( [ -n "$V" ] && echo "$V" || echo "??" ) | tr -d '\n';
+ ]))
+m4_ifdef([AM_SILENT_RULES],
+ [m4_define([ng_color_tests], [color-tests])],
+ [m4_define([ng_color_tests], [])])
+
# -- Initialisation --
-AC_PREREQ([2.67])
+AC_PREREQ([2.61])
AC_INIT([ngIRCd], VERSION_ID,
[ngircd-ml@ngircd.barton.de], [ngircd], [http://ngircd.barton.de/])
# (c) 2008 Florian Westphal <fw@strlen.de>, public domain.
#
- AUTOMAKE_OPTIONS = ../portab/ansi2knr
+ __ng_Makefile_am_template__
+
+ EXTRA_DIST = Makefile.ng
-INCLUDES = -I$(srcdir)/../portab
+AM_CPPFLAGS = -I$(srcdir)/../portab
noinst_LIBRARIES = libngipaddr.a
# Please read the file COPYING, README and AUTHORS for more information.
#
- AUTOMAKE_OPTIONS = ../portab/ansi2knr
+ __ng_Makefile_am_template__
+
+ EXTRA_DIST = Makefile.ng
-INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
+AM_CPPFLAGS = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \
-varuse -retvalother -emptyret -unrecog
#
# ngIRCd -- The Next Generation IRC Daemon
- # Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors.
+ # Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors
#
- # Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
- # der GNU General Public License (GPL), wie von der Free Software Foundation
- # herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
- # der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
- # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
- # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
+ # 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
+ # the Free Software Foundation; either version 2 of the License, or
+ # (at your option) any later version.
+ # Please read the file COPYING, README and AUTHORS for more information.
#
- AUTOMAKE_OPTIONS = ../portab/ansi2knr
+ __ng_Makefile_am_template__
-INCLUDES = -I$(srcdir)/../portab
+AM_CPPFLAGS = -I$(srcdir)/../portab
EXTRA_DIST = \
- README functions.inc getpid.sh \
+ Makefile.ng README functions.inc getpid.sh \
start-server.sh stop-server.sh tests.sh stress-server.sh \
test-loop.sh wait-tests.sh \
channel-test.e connect-test.e check-idle.e invite-test.e \
# Please read the file COPYING, README and AUTHORS for more information.
#
- AUTOMAKE_OPTIONS = ../portab/ansi2knr
+ __ng_Makefile_am_template__
+
+ EXTRA_DIST = Makefile.ng
-INCLUDES = -I$(srcdir)/../portab
+AM_CPPFLAGS = -I$(srcdir)/../portab
noinst_LIBRARIES = libngtool.a