Commit Diff


commit - 0424747e95fa4c54ca160b2b4db96b5d8cf45cce
commit + 34ede2a91aa3f0d4847eb9dcae053ca9746fa171
blob - 651eec5d0c3c2ba16270a74f39b5fb7730e3fea2
blob + be75b453ef50558618b09bb7a4c501716eeb7e6a
--- ChangeLog
+++ ChangeLog
@@ -13,6 +13,7 @@
 ngIRCd CVS-HEAD
 
   - Made Makefile more compatible with "make -j<n>".
+  - Added support for GNU/Hurd.
 
 ngIRCd 0.7.0 (2003-05-01)
   - "ServerName" is checked better now: a dot (".") is required.
@@ -451,4 +452,4 @@ ngIRCd 0.0.1, 31.12.2001
 
 
 -- 
-$Id: ChangeLog,v 1.202 2003/05/03 16:29:57 alex Exp $
+$Id: ChangeLog,v 1.203 2003/05/05 00:33:32 alex Exp $
blob - 1fba8530dd72455c065117d184e171ac6f971cc8
blob + 94ff78d8402bc13ee2220131ad8ac760f341351b
--- configure.in
+++ configure.in
@@ -8,7 +8,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: configure.in,v 1.92 2003/04/25 15:04:43 alex Exp $
+# $Id: configure.in,v 1.93 2003/05/05 00:33:32 alex Exp $
 #
 
 # -- Initialisierung --
@@ -57,26 +57,28 @@ AC_C_CONST
 
 # -- Defines --
 
-if test `uname` = "Linux"; then
+os=`uname`
+
+if test "$os" = "Linux" -o $os = "GNU"; then
 	# define _POSIX_SOURCE, _GNU_SOURCE and _BSD_SOURCE when compiling
-	# on Linux (glibc-based systems):
-	AC_MSG_RESULT([detected Linux, defining _POSIX_SOURCE, _GNU_SOURCE and _BSD_SOURCE])
+	# on Linux or Hurd (glibc-based systems):
+	AC_MSG_RESULT([detected ${os}, defining _POSIX_SOURCE, _GNU_SOURCE and _BSD_SOURCE])
 	add_DEFINES="-D_POSIX_SOURCE -D_GNU_SOURCE -D_BSD_SOURCE $add_DEFINES"
 fi
 
-if test `uname` = "A/UX"; then
+if test "$os" = "A/UX"; then
 	# define _POSIX_SOURCE when compiling on A/UX:
 	AC_MSG_RESULT([detected A/UX, defining _POSIX_SOURCE])
 	add_DEFINES="-D_POSIX_SOURCE $add_DEFINES"
 fi
 
-if test `uname` = "HP-UX"; then
+if test "$os" = "HP-UX"; then
 	# define _XOPEN_SOURCE_EXTENDED when compiling on HP-UX (11.11):
 	AC_MSG_RESULT([detected HP-UX, defining _XOPEN_SOURCE_EXTENDED])
 	add_DEFINES="-D_XOPEN_SOURCE_EXTENDED $add_DEFINES"
 fi
 
-if test `uname` = "SunOS"; then
+if test "$os" = "SunOS"; then
 	# define _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED=1 and __EXTENSIONS__
 	# when compiling on SunOS (tested with 5.6):
 	AC_MSG_RESULT([detected SunOS, defining _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED=1 and __EXTENSIONS__])
blob - 38f944a4bc3020b945c58c63bfbe561e17043003
blob + d5044ffe7dede57ab3bd72d0f75ca623a17cf7ac
--- doc/Platforms.txt
+++ doc/Platforms.txt
@@ -28,14 +28,16 @@ Platform                    Compiler     ngIRCd     Da
 --------------------------- ------------ ---------- -------- ------ - - - - ---
 i386/pc/solaris2.9          gcc 3.2.2    0.7.x-CVS  03-04-28 alex   Y Y Y Y
 i386/unknown/freebsd5.0     gcc 3.2.1    0.7.x-CVS  03-04-23 alex   Y Y Y Y
+i386/unknown/gnu0.3         gcc 3.2.3    CVSHEAD    03-05-05 alex   Y Y n Y
 i386/unknown/netbsdelf1.6.1 gcc 2.95.3   0.7.x-CVS  03-04-23 alex   Y Y Y Y
 i686/pc/cygwin              gcc 3.2      0.7.x-CVS  03-04-24 alex   Y Y n Y
 i686/pc/linux-gnu           gcc 2.95/3.x 0.7.0-pre1 03-04-22 alex   Y Y Y Y (1)
 m68k/apple/aux3.1.1         Orig. A/UX   0.7.x-CVS  03-04-22 alex   Y Y Y Y (2)
+m68k/hp/hp-ux9.10           Orig. HPUX   0.7.x-CVS  03-04-30 goetz  Y Y Y Y
 powerpc/apple/darwin6.5     gcc 3.1      0.7.x-CVS  03-04-23 alex   Y Y Y Y
 sparc/sun/solaris2.6        gcc 2.95.3   0.7.x-CVS  03-04-22 alex   Y Y Y Y
-m68k/hp/hp-ux9.10           Orig. HPUX   0.7.x-CVS  03-04-30 goetz  Y Y Y Y
 
+
 Notes
 ~~~~~
 (1) i686/pc/linux-gnu:
@@ -50,4 +52,4 @@ Notes
 			
 
 -- 
-$Id: Platforms.txt,v 1.5 2003/04/30 21:03:01 goetz Exp $
+$Id: Platforms.txt,v 1.6 2003/05/05 00:33:32 alex Exp $