1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-27 20:36:18 +00:00

Fixed build problems under Mac OS X 10.3 "Panther".

This commit is contained in:
Alexander Barton 2003-11-04 00:41:06 +00:00
parent cfe6356531
commit 20d002e155
2 changed files with 14 additions and 4 deletions

View File

@ -12,6 +12,7 @@
ngIRCd CVS-HEAD ngIRCd CVS-HEAD
- Fixed build problems under Mac OS X 10.3.
- Use "-pipe" when compiling with gcc, speeds things up a little :-) - Use "-pipe" when compiling with gcc, speeds things up a little :-)
- Added new configuration variable "Listen" to bind all listening - Added new configuration variable "Listen" to bind all listening
sockets of the server to a single IP address. sockets of the server to a single IP address.
@ -467,4 +468,4 @@ ngIRCd 0.0.1, 31.12.2001
-- --
$Id: ChangeLog,v 1.212 2003/10/19 23:03:34 alex Exp $ $Id: ChangeLog,v 1.213 2003/11/04 00:41:06 alex Exp $

View File

@ -8,7 +8,7 @@
# (at your option) any later version. # (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information. # Please read the file COPYING, README and AUTHORS for more information.
# #
# $Id: configure.in,v 1.95 2003/10/19 23:03:34 alex Exp $ # $Id: configure.in,v 1.96 2003/11/04 00:41:07 alex Exp $
# #
# -- Initialisierung -- # -- Initialisierung --
@ -271,7 +271,7 @@ if test "$GCC" = "yes"; then
ansi=" -ansi" ansi=" -ansi"
pedantic=" -pedantic" pedantic=" -pedantic"
$CC --version | grep 20020420 > /dev/null 2>&1 $CC --version | grep 20020420 >/dev/null 2>&1
if test $? -eq 0; then if test $? -eq 0; then
# Mac OS X (and Darwin?) ship with a slightly broken # Mac OS X (and Darwin?) ship with a slightly broken
# prerelease of GCC 3.1 which don't like -pedantic: # prerelease of GCC 3.1 which don't like -pedantic:
@ -279,7 +279,16 @@ if test "$GCC" = "yes"; then
pedantic="" pedantic=""
fi fi
uname | grep "CYGWIN" > /dev/null 2>&1 $CC --version | grep 20030304 >/dev/null 2>&1
if test $? -eq 0; then
# Mac OS X 10.3 (and Darwin 7.0?) have a strange gcc (or
# system header files?) which produces lots of errors when
# using -ansi; so we don't =:-)
AC_MSG_RESULT([detected broken GNU C compiler, disabling "-ansi"])
ansi=""
fi
uname | grep "CYGWIN" >/dev/null 2>&1
if test $? -eq 0; then if test $? -eq 0; then
# The include files of Cygwin don't like -ansi, # The include files of Cygwin don't like -ansi,
# so we disable it: # so we disable it: