repo: ngircd action: commit revision: path_from: revision_from: 34ede2a91aa3f0d4847eb9dcae053ca9746fa171: path_to: revision_to:
commit 34ede2a91aa3f0d4847eb9dcae053ca9746fa171 Author: Alexander BartonDate: Mon May 5 00:33:32 2003 +0000 Added support for GNU/Hurd. diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ ngIRCd CVS-HEAD - Made Makefile more compatible with "make -j". + - 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 $ diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/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__])
diff --git a/doc/Platforms.txt b/doc/Platforms.txt
--- a/doc/Platforms.txt +++ b/doc/Platforms.txt @@ -28,13 +28,15 @@ Platform Compiler ngIRCd Date Tester C M T R See --------------------------- ------------ ---------- -------- ------ - - - - --- 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 ~~~~~ @@ -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 $
-----END OF PAGE-----