@@ -2,7 +2,7 @@
# ------------------------------
AC_DEFUN([DO_DEPS],
[
-files="src/Makefile src/compat/Makefile src/mod/channels.mod/Makefile src/mod/compress.mod/Makefile src/mod/console.mod/Makefile src/mod/ctcp.mod/Makefile src/mod/dns.mod/Makefile.in src/mod/irc.mod/Makefile src/mod/notes.mod/Makefile src/mod/server.mod/Makefile src/mod/share.mod/Makefile src/mod/transfer.mod/Makefile src/mod/update.mod/Makefile"
+files="src/Makefile.in src/compat/Makefile.in src/mod/channels.mod/Makefile src/mod/compress.mod/Makefile src/mod/console.mod/Makefile src/mod/ctcp.mod/Makefile src/mod/dns.mod/Makefile.in src/mod/irc.mod/Makefile src/mod/notes.mod/Makefile src/mod/server.mod/Makefile src/mod/share.mod/Makefile src/mod/transfer.mod/Makefile src/mod/update.mod/Makefile"
for mf in $files; do
# Strip MF so we end up with the name of the file.
# echo "MF: $mf"
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 1.1 .
+# From configure.ac Revision: 1.2 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
@@ -12253,7 +12253,7 @@ esac
@@ -1,3 +1,3 @@
#!/bin/sh
grep=`which grep`
-grep "$@" | grep -v "^Binary" | grep -v "src/_" | grep -v "help."
+grep "$@" | grep -v "^Binary" | grep -v "src/_" | grep -v "help." | grep -v "CVS"
@@ -66,7 +66,7 @@ makesettings: makesettings.c
@$(CC) $(CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/pack $(CPPFLAGS) makesettings.c -o makesettings
@$(STRIP) makesettings
-stringfix: stringfix.c main.h ../config.h ../pack/pack.cfg eggdrop.h
+stringfix: stringfix.c eggmain.h ../config.h ../pack/pack.cfg eggdrop.h
@echo -e "Compiling: \033[1mstringfix\033[0m"
@$(CC) $(CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/pack $(CPPFLAGS) stringfix.c -o stringfix
@$(STRIP) stringfix
@@ -4,7 +4,7 @@
* auth system hooks
*/
-#include "main.h"
+#include "eggmain.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
@@ -5,7 +5,7 @@
*
#include <signal.h>
#include "tandem.h"
#include "users.h"
#include "chan.h"
@@ -7,7 +7,7 @@
#include "core_binds.h"
@@ -9,7 +9,7 @@
#if HAVE_GETRUSAGE
#include <sys/resource.h>
#if HAVE_SYS_RUSAGE_H
#include "modules.h"
#include "help.h"
@@ -3,7 +3,7 @@
#include "inet_aton.h"
#ifndef HAVE_ISASCII
#ifndef _EGG_COMPAT_INET_ATON_H
#define _EGG_COMPAT_INET_ATON_H
-#include "src/main.h"
+#include "src/eggmain.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "inet_ntop.h"
#if defined(USE_IPV6) && !defined(HAVE_INET_NTOP)
#ifndef _EGG_COMPAT_INET_NTOP_H
#define _EGG_COMPAT_INET_NTOP_H
#include "memcpy.h"
#ifndef HAVE_MEMCPY
#ifndef _EGG_COMPAT_MEMCPY_H
#define _EGG_COMPAT_MEMCPY_H
#include <string.h>
* memset.c -- provides memset() if necessary.
#include "memset.h"
#ifndef HAVE_MEMSET
#ifndef _EGG_COMPAT_MEMSET_H
#define _EGG_COMPAT_MEMSET_H
#include "snprintf.h"
#ifndef _EGG_COMPAT_SNPRINTF_H_
#define _EGG_COMPAT_SNPRINTF_H_
#include <stdio.h>
/* Check for broken snprintf versions */
#ifndef HAVE_STRCASECMP
#ifndef _EGG_COMPAT_STRCASECMP_H
#define _EGG_COMPAT_STRCASECMP_H
#include <ctype.h>
#include "strftime.h"
#ifndef HAVE_STRFTIME
#ifndef _EGG_COMPAT_STRFTIME_H_
#define _EGG_COMPAT_STRFTIME_H_
#include <time.h>
/* Use the system libraries version of strftime() if available. Otherwise
* cmdpass functions
#include <unistd.h>
@@ -1,4 +1,4 @@
extern cmd_t C_dcc[];
extern struct dcc_t *dcc;
@@ -6,7 +6,7 @@
#define CRYPT_BLOCKSIZE AES_BLOCK_SIZE
#define CRYPT_KEYBITS 256
#include <errno.h>
#include <setjmp.h>
#include <netdb.h>
@@ -1,6 +1,6 @@
#include <stdio.h> /* For NULL */
#include <sys/time.h> /* For gettimeofday() */
#include "egg_timer.h"
/*
- * main.h
+ * eggmain.h
* include file to include most other include files
extern int use_console_r, debug_output, noshare,
allow_dk_cmds;
#include "build.h"
#include <libgen.h>
@@ -419,7 +419,7 @@ fprintf(f, " \
#include <stdio.h> \n\
#include <stdlib.h> \n\
#include <string.h> \n\
-#include \"main.h\"\n\
+#include \"eggmain.h\"\n\
\n\
char packname[512], shellhash[33], bdhash[33], dcc_prefix[2], *owners, *hubs, *owneremail;\n\n\
char *progname() {\n\
@@ -21,7 +21,7 @@
* I hereby release this code into the public domain
#define QUOTE '\\' /* quoting character (overrides wildcards) */
#define WILDS '*' /* matches 0 or more characters (including spaces) */
#define STR(x) x
#include <fcntl.h>
@@ -25,7 +25,7 @@
#define _EGG_MOD_MODULE_H
/* Just include *all* the include files...it's slower but EASIER */
#include "modvals.h"
#include "src/tandem.h"
#include "proto.h"
#include "traffic.h" /* egg_traffic_t */
#include <limits.h>
@@ -24,7 +24,7 @@
* --+ Dagmar
int _rfc_casecmp(const char *s1, const char *s2)
{
@@ -8,7 +8,7 @@
#include <stdlib.h> /* getenv() */
#include <locale.h> /* setlocale() */
#include "match.c"
extern int noshare, cfg_noshare, cfg_count;
@@ -12,7 +12,7 @@