removed defines for XOPEN_SOURCE and BSD_SOURCE again as it breaks all BSDs and MacOSX

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@994 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2006-02-14 16:10:14 +00:00
parent 69d5fcd217
commit e50be51a9b
2 changed files with 1 additions and 4 deletions

View File

@ -109,7 +109,7 @@ env['package'] = package
env['version'] = version
if env['CC'] == 'gcc':
## we need x-open 6 and bsd 4.3 features
env.Append(CCFLAGS = Split('-Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE'))
env.Append(CCFLAGS = Split('-Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99'))
# cache configure checks
if 1:

View File

@ -439,9 +439,6 @@ case $host_os in
* ) ;;
esac
dnl posix_* needs _XOPEN_SOURCE=600
CFLAGS="${CFLAGS} -D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
AC_CHECK_FUNCS([dup2 getcwd inet_ntoa inet_ntop memset mmap munmap strchr \
strdup strerror strstr strtol sendfile getopt socket \
gethostbyname poll sigtimedwait epoll_ctl getrlimit chroot \