X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.in;h=f18744a3912beda0c3a0eb25114e380c05df2edd;hp=6e76b5c82e12753e6e49c9a34f90d431c98a6772;hb=e6faca13376dc10e35dd9bd671a596582414115c;hpb=250ef1ab55cd222317c3bde82c40458d05d28882 diff --git a/configure.in b/configure.in index 6e76b5c8..f18744a3 100644 --- a/configure.in +++ b/configure.in @@ -9,9 +9,18 @@ # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. # -# $Id: configure.in,v 1.32 2002/03/02 03:36:14 alex Exp $ +# $Id: configure.in,v 1.35 2002/03/10 17:03:18 alex Exp $ # # $Log: configure.in,v $ +# Revision 1.35 2002/03/10 17:03:18 alex +# - es werden nun die Konstanten SYSCONFDIR und LOCALSTATEDIR definiert. +# +# Revision 1.34 2002/03/10 15:40:26 alex +# - Anpassungen an neues GNU automake/autoconf: acconfig.h entfaellt nun. +# +# Revision 1.33 2002/03/02 03:57:56 alex +# - Versionsnummer auf 0.3.0-CVS angehoben. +# # Revision 1.32 2002/03/02 03:36:14 alex # - Version 0.3.0 # @@ -115,9 +124,17 @@ AC_INIT AC_CONFIG_SRCDIR(src/ngircd/ngircd.c) -AM_INIT_AUTOMAKE(ngircd,0.3.0) +AM_INIT_AUTOMAKE(ngircd,0.3.0-CVS) AM_CONFIG_HEADER(src/config.h) +# -- Templates fuer config.h -- + +AH_TEMPLATE([DEBUG], [Define if debug-mode should be enabled]) +AH_TEMPLATE([HAVE_socklen_t], [Define if socklen_t exists]) +AH_TEMPLATE([SNIFFER], [Define if IRC sniffer should be enabled]) +AH_TEMPLATE([STRICT_RFC], [Define if ngIRCd should behave strict RFC compliant]) +AH_TEMPLATE([USE_SYSLOG], [Define if syslog should be used for logging]) + # -- C Compiler -- AC_PROG_CC @@ -257,6 +274,9 @@ if test "$GCC" = "yes"; then CFLAGS="-Wall $CFLAGS" fi +CFLAGS="$CFLAGS -DSYSCONFDIR='\"\$(sysconfdir)\"'" +CFLAGS="$CFLAGS -DLOCALSTATEDIR='\"\$(localstatedir)\"'" + # -- Ausgabe -- AC_OUTPUT([ \