--with-select use select() instead of poll()
--with-unreal you need this if you are using Unreal ircd (any
version)
+ --with-extra-fascism Add extra gcc3-specific warning flags
Some influential environment variables:
CC C compiler command
with_unreal="no"
fi;
+# Check whether --with-extra-fascism or --without-extra-fascism was given.
+if test "${with_extra_fascism+set}" = set; then
+ withval="$with_extra_fascism"
+ CFLAGS="$CFLAGS -g -ggdb -O0 -W -Wfloat-equal -Wbad-function-cast -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
+fi;
+
+
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if test "${enable_ipv6+set}" = set; then
enableval="$enable_ipv6"
AC_HELP_STRING([--with-unreal],
[you need this if you are using Unreal ircd (any version)]),
[with_unreal="yes"], [with_unreal="no"])
+AC_ARG_WITH(extra-fascism,
+ AC_HELP_STRING([--with-extra-fascism],
+ [Add extra gcc3-specific warning flags]),
+ [CFLAGS="$CFLAGS -g -ggdb -O0 -W -Wfloat-equal -Wbad-function-cast -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"])
+
dnl ipv6?
AC_ARG_ENABLE(ipv6,
AM_CPPFLAGS = -DBOPM_ETCDIR="\"$(sysconfdir)\"" -DBOPM_LOGDIR="\"$(localstatedir)\""
-bopm_SOURCES = compat.c compat.h config.c config.h dnsbl.c dnsbl.h extern.h \
- inet.c inet.h irc.c irc.h log.c log.h main.c match.c match.h misc.c \
- misc.h opercmd.c opercmd.h options.h scan.c scan.h setup.h stats.c \
- stats.h
+bopm_SOURCES = compat.c compat.h config.c config.h dlclist.c dlclist.h \
+ dnsbl.c dnsbl.h extern.h inet.c inet.h irc.c irc.h log.c log.h main.c \
+ match.c match.h misc.c misc.h opercmd.c opercmd.h options.h scan.c \
+ scan.h scanwarn.c scanwarn.h setup.h stats.c stats.h
bopchecker_SOURCES = bopchecker.c bopchecker.h compat.c compat.h config.c \
config.h inet.c inet.h match.c match.h misc.c misc.h scan.c scan.h \
setup.h
AM_CPPFLAGS = -DBOPM_ETCDIR="\"$(sysconfdir)\"" -DBOPM_LOGDIR="\"$(localstatedir)\""
-bopm_SOURCES = compat.c compat.h config.c config.h dnsbl.c dnsbl.h extern.h \
- inet.c inet.h irc.c irc.h log.c log.h main.c match.c match.h misc.c \
- misc.h opercmd.c opercmd.h options.h scan.c scan.h setup.h stats.c \
- stats.h
+bopm_SOURCES = compat.c compat.h config.c config.h dlclist.c dlclist.h \
+ dnsbl.c dnsbl.h extern.h inet.c inet.h irc.c irc.h log.c log.h main.c \
+ match.c match.h misc.c misc.h opercmd.c opercmd.h options.h scan.c \
+ scan.h scanwarn.c scanwarn.h setup.h stats.c stats.h
bopchecker_SOURCES = bopchecker.c bopchecker.h compat.c compat.h config.c \
config.h inet.c inet.h match.c match.h misc.c misc.h scan.c scan.h \
bopchecker_OBJECTS = $(am_bopchecker_OBJECTS)
bopchecker_DEPENDENCIES =
bopchecker_LDFLAGS =
-am_bopm_OBJECTS = compat.$(OBJEXT) config.$(OBJEXT) dnsbl.$(OBJEXT) \
- inet.$(OBJEXT) irc.$(OBJEXT) log.$(OBJEXT) main.$(OBJEXT) \
- match.$(OBJEXT) misc.$(OBJEXT) opercmd.$(OBJEXT) scan.$(OBJEXT) \
- stats.$(OBJEXT)
+am_bopm_OBJECTS = compat.$(OBJEXT) config.$(OBJEXT) dlclist.$(OBJEXT) \
+ dnsbl.$(OBJEXT) inet.$(OBJEXT) irc.$(OBJEXT) log.$(OBJEXT) \
+ main.$(OBJEXT) match.$(OBJEXT) misc.$(OBJEXT) opercmd.$(OBJEXT) \
+ scan.$(OBJEXT) scanwarn.$(OBJEXT) stats.$(OBJEXT)
bopm_OBJECTS = $(am_bopm_OBJECTS)
bopm_DEPENDENCIES =
bopm_LDFLAGS =
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/bopchecker.Po ./$(DEPDIR)/compat.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/config.Po ./$(DEPDIR)/dnsbl.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/inet.Po ./$(DEPDIR)/irc.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/log.Po ./$(DEPDIR)/main.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/match.Po ./$(DEPDIR)/misc.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/opercmd.Po ./$(DEPDIR)/scan.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/config.Po ./$(DEPDIR)/dlclist.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/dnsbl.Po ./$(DEPDIR)/inet.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/irc.Po ./$(DEPDIR)/log.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/match.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/misc.Po ./$(DEPDIR)/opercmd.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/scan.Po ./$(DEPDIR)/scanwarn.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/stats.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bopchecker.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compat.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlclist.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dnsbl.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inet.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opercmd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scan.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scanwarn.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stats.Po@am__quote@
distclean-depend: