fixup includes for unreal and ultimate

This commit is contained in:
Mark 2004-06-09 19:48:25 +00:00
parent 38c01fbc9f
commit 8358073703
11 changed files with 21 additions and 20 deletions

4
.gitattributes vendored
View file

@ -336,8 +336,8 @@ src/protocol/bahamut.c eol=lf
src/protocol/bahamut.h eol=lf src/protocol/bahamut.h eol=lf
src/protocol/hybrid7.c eol=lf src/protocol/hybrid7.c eol=lf
src/protocol/hybrid7.h eol=lf src/protocol/hybrid7.h eol=lf
src/protocol/ircu.c eol=lf src/protocol/ircup10.c eol=lf
src/protocol/ircu.h eol=lf src/protocol/ircup10.h eol=lf
src/protocol/liquid.c -text src/protocol/liquid.c -text
src/protocol/liquid.h -text src/protocol/liquid.h -text
src/protocol/mystic.c eol=lf src/protocol/mystic.c eol=lf

View file

@ -4,6 +4,8 @@ Anything we add/remove/fix/change is in here (even our rants)
Fish (F), Mark (M) Fish (F), Mark (M)
=============================================================================== ===============================================================================
* NeoStats * Version 3.0.genesis * NeoStats * Version 3.0.genesis
- Split unreal and ultimate protocol files into ultimate2, ultimate3, unreal31
and unreal32 for easier maintainance. (M)
- Begin moving common mode defines to neostats.h from ircd specific files. (M) - Begin moving common mode defines to neostats.h from ircd specific files. (M)
- Channel key and limit modes now have explicit support rather than being - Channel key and limit modes now have explicit support rather than being
included in general mode parameters list. (M) included in general mode parameters list. (M)

4
Config
View file

@ -54,7 +54,7 @@ echo " 7) Bahamut IRCD"
echo " 8) Mystic IRCD" echo " 8) Mystic IRCD"
echo " 9) Quantum IRCD" echo " 9) Quantum IRCD"
echo " 10) Viagra IRCD" echo " 10) Viagra IRCD"
echo " 11) IRCu (Experimental)" echo " 11) IRCu P10 (Experimental)"
while [ $validselection -eq 0 ] ; do while [ $validselection -eq 0 ] ; do
echo_no_lf "[$IRCD_DEFAULT] " echo_no_lf "[$IRCD_DEFAULT] "
if read INPUT ; then : ; else echo "" ; exit 1 ; fi if read INPUT ; then : ; else echo "" ; exit 1 ; fi
@ -108,7 +108,7 @@ while [ $validselection -eq 0 ] ; do
validselection=1 validselection=1
;; ;;
11) 11)
IRCD="--enable-ircu" IRCD="--enable-ircup10"
validselection=1 validselection=1
;; ;;
*) *)

14
configure vendored
View file

@ -1045,7 +1045,7 @@ Optional Features:
--enable-quantum - enable Quantum IRCD Support --enable-quantum - enable Quantum IRCD Support
--enable-mystic - enable Mystic IRCD Support --enable-mystic - enable Mystic IRCD Support
--enable-bahamut - enable Bahamut IRCD Support --enable-bahamut - enable Bahamut IRCD Support
--enable-ircu - enable IRCu IRCD Support --enable-ircup10 - enable IRCu P10 IRCD Support
--enable-liquid - enable Liquid IRCD Support --enable-liquid - enable Liquid IRCD Support
--enable-viagra - enable Viagra IRCD Support --enable-viagra - enable Viagra IRCD Support
--enable-ircdauth - IRCd user mode authentication --enable-ircdauth - IRCd user mode authentication
@ -27974,21 +27974,21 @@ fi;
echo "$as_me:$LINENO: checking Whether to Enable IRCu IRCD Support..." >&5 echo "$as_me:$LINENO: checking Whether to Enable IRCu IRCD Support..." >&5
echo $ECHO_N "checking Whether to Enable IRCu IRCD Support...... $ECHO_C" >&6 echo $ECHO_N "checking Whether to Enable IRCu IRCD Support...... $ECHO_C" >&6
# Check whether --enable-ircu or --disable-ircu was given. # Check whether --enable-ircup10 or --disable-ircup10 was given.
if test "${enable_ircu+set}" = set; then if test "${enable_ircup10+set}" = set; then
enableval="$enable_ircu" enableval="$enable_ircup10"
case "$enableval" in case "$enableval" in
yes) yes)
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define IRCU 1 #define IRCUP10 1
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define NS_PROTOCOL "IRCu" #define NS_PROTOCOL "IRCUP10"
_ACEOF _ACEOF
PROTOCOL="ircu" PROTOCOL="ircup10"
echo "$as_me:$LINENO: result: yes" >&5 echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
;; ;;

View file

@ -359,13 +359,12 @@ AC_MSG_RESULT(no))
dnl check to see if we should enable IRCu IRCD Support dnl check to see if we should enable IRCu IRCD Support
AC_MSG_CHECKING(Whether to Enable IRCu IRCD Support...) AC_MSG_CHECKING(Whether to Enable IRCu IRCD Support...)
AC_ARG_ENABLE(ircu, [ --enable-ircu - enable IRCu IRCD Support], AC_ARG_ENABLE(ircup10, [ --enable-ircup10 - enable IRCu P10 IRCD Support],
[ case "$enableval" in [ case "$enableval" in
yes) yes)
dnl AC_MSG_ERROR('Sorry IRCu support isnt complete yet') AC_DEFINE(IRCUP10, 1, 'Enable IRCu Support')
AC_DEFINE(IRCU, 1, 'Enable IRCu Support') AC_DEFINE_UNQUOTED(NS_PROTOCOL, "IRCUP10")
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "IRCu") PROTOCOL="ircup10"
PROTOCOL="ircu"
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
;; ;;
*) *)

View file

@ -25,7 +25,7 @@
#include "neostats.h" #include "neostats.h"
#include "ircd.h" #include "ircd.h"
#include "ultimate.h" #include "ultimate2.h"
#include "services.h" #include "services.h"
static void m_version (char *origin, char **argv, int argc, int srv); static void m_version (char *origin, char **argv, int argc, int srv);

View file

@ -25,7 +25,7 @@
#include "neostats.h" #include "neostats.h"
#include "ircd.h" #include "ircd.h"
#include "ultimate.h" #include "ultimate3.h"
#include "services.h" #include "services.h"
static void m_version (char *origin, char **argv, int argc, int srv); static void m_version (char *origin, char **argv, int argc, int srv);

View file

@ -24,7 +24,7 @@
*/ */
#include "neostats.h" #include "neostats.h"
#include "unreal.h" #include "unreal31.h"
#include "ircd.h" #include "ircd.h"
static void m_version (char *origin, char **argv, int argc, int srv); static void m_version (char *origin, char **argv, int argc, int srv);

View file

@ -24,7 +24,7 @@
*/ */
#include "neostats.h" #include "neostats.h"
#include "unreal.h" #include "unreal32.h"
#include "ircd.h" #include "ircd.h"
static void m_version (char *origin, char **argv, int argc, int srv); static void m_version (char *origin, char **argv, int argc, int srv);