diff options
author | Jan Kneschke <jan@kneschke.de> | 2006-02-14 16:10:14 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2006-02-14 16:10:14 +0000 |
commit | 569923007e6c552ab9e9a07102f72c086e2bc9d8 (patch) | |
tree | d5a8bebbbe24eac2de805c09d761f1547d11f2bf | |
parent | 731c4946e494eb5f414e6496a94164ef22154e5e (diff) | |
download | lighttpd-git-569923007e6c552ab9e9a07102f72c086e2bc9d8.tar.gz |
removed defines for XOPEN_SOURCE and BSD_SOURCE again as it breaks all BSDs and MacOSX
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@994 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | SConstruct | 2 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -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: diff --git a/configure.in b/configure.in index 128d84dd..9aef1d49 100644 --- a/configure.in +++ b/configure.in @@ -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 \ |