? .hg
? aclocal.m4
? autom4te.cache
? bcn.ircd.motd
? cache
? config.settings.bac
? ircd.pid
? ircd.tune
? location.conf
? motd.txt
? robots.txt
? server.cert.pem
? server.key.pem
? server.req.pem
? smotd.txt
? tmp
? unrealircd.conf
? valgrind.unreal.suppress
? autoconf/acinclude.m4
? extras/c-ares
? extras/c-ares-1.6.0
? extras/c-ares.tar
? src/modules/callerid.c
? src/modules/m_soper.c
? src/modules/testchanmodehook.c
Index: configure
===================================================================
RCS file: /cvs/unreal/Attic/configure,v
retrieving revision 1.1.2.96.2.43
diff -u -B -r1.1.2.96.2.43 configure
===================================================================
RCS file: /cvs/unreal/Attic/configure.ac,v
retrieving revision 1.1.2.5
diff -u -B -r1.1.2.5 configure.ac
--- configure.ac	17 Jul 2010 11:19:48 -0000	1.1.2.5
+++ configure.ac	19 Jul 2010 16:52:13 -0000
@@ -516,6 +516,7 @@
 exit(0);
 }
 ], AC_MSG_RESULT([yes]), [
+# must be passed on the commandline to avoid a ``warning, you redefined something''
 FD_SETSIZE="-DFD_SETSIZE=$ac_fd"
 AC_MSG_RESULT(no)
 ])
@@ -520,15 +521,12 @@
 AC_MSG_RESULT(no)
 ])
 AC_SUBST([FD_SETSIZE])
+
 case `uname -s` in
-*SunOS*)
-CFLAGS="$CFLAGS -D_SOLARIS"
-IRCDLIBS="$IRCDLIBS -lresolv "
-;;
-*solaris*)
-CFLAGS="$CFLAGS -D_SOLARIS"
-IRCDLIBS="$IRCDLIBS -lresolv "
-;;
+	*SunOS*|*solaris*)
+		AC_DEFINE([_SOLARIS], [], [Define if you are compiling unrealircd on Sun's (or Oracle's?) Solaris])
+		IRCDLIBS="$IRCDLIBS -lresolv "
+		;;
 esac
 
 dnl c-ares needs PATH_SEPARATOR set or it will
Index: autoconf/m4/unreal.m4
===================================================================
RCS file: /cvs/unreal/autoconf/m4/Attic/unreal.m4,v
retrieving revision 1.1.2.2
diff -u -B -r1.1.2.2 unreal.m4
--- autoconf/m4/unreal.m4	16 Jul 2010 13:14:44 -0000	1.1.2.2
+++ autoconf/m4/unreal.m4	19 Jul 2010 16:52:13 -0000
@@ -125,7 +125,8 @@
 		dnl Make sure that linking against cURL works rather than letting the user
 		dnl find out after compiling most of his program. ~ohnobinki
 		IRCDLIBS="$IRCDLIBS $CURLLIBS"
-		CFLAGS="$CFLAGS $CURLCFLAG -DUSE_LIBCURL"
+		CFLAGS="$CFLAGS $CURLCFLAG"
+		AC_DEFINE([USE_LIBCURL], [], [Define if you have libcurl installed to get remote includes and MOTD support])
 
 		AC_MSG_CHECKING([curl_easy_init() in $CURLLIBS])
 		LIBS_SAVEDA="$LIBS"
@@ -218,11 +219,10 @@
 		if test -f "$dir/include/zlib.h"; then
 			AC_MSG_RESULT(found in $zlibdir)
 			found_zlib="yes";
-			if test "$zlibdir" = "/usr" ; then
-				CFLAGS="$CFLAGS -DZIP_LINKS";
-			else
-				CFLAGS="$CFLAGS -I$zlibdir/include -DZIP_LINKS";
+			if test "$zlibdir" != "/usr" ; then
+				CFLAGS="$CFLAGS -I$zlibdir/include";
 			fi
+			AC_DEFINE([ZIP_LINKS], [], [Define if you have zlib and want zip links support.])
 		break
 		fi
 	done
Index: include/setup.h.in
===================================================================
RCS file: /cvs/unreal/include/Attic/setup.h.in,v
retrieving revision 1.1.2.15.2.8
diff -u -B -r1.1.2.15.2.8 setup.h.in
