repo: ngircd
action: commit
revision: 
path_from: 
revision_from: b4dc216db3a209fc7bb9ef508aa4f9646cec04c6:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit b4dc216db3a209fc7bb9ef508aa4f9646cec04c6
Author: Alexander Barton 
Date:   Tue Apr 22 18:44:03 2003 +0000

    Added defines for SunOS (5.6).

diff --git a/configure.in b/configure.in
index 2b5e64ab9a8bb45134bb8e8dfb9c9a92e5b63352..
index ..a52f5f92721495c79e85737428c8f06413519041 100644
--- 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.89 2003/04/21 10:51:44 alex Exp $
+# $Id: configure.in,v 1.90 2003/04/22 18:44:03 alex Exp $
 #

 # -- Initialisierung --
@@ -76,6 +76,13 @@ if test `uname` = "HP-UX"; then
 	add_DEFINES="-D_XOPEN_SOURCE_EXTENDED $add_DEFINES"
 fi

+if test `uname` = "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__])
+	add_DEFINES="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ $add_DEFINES"
+fi
+
 # -- Header --

 AC_HEADER_STDC

-----END OF PAGE-----