diff options
Diffstat (limited to 'auto/os')
-rw-r--r-- | auto/os/conf | 3 | ||||
-rw-r--r-- | auto/os/freebsd | 27 | ||||
-rw-r--r-- | auto/os/linux | 5 | ||||
-rw-r--r-- | auto/os/solaris | 3 |
4 files changed, 25 insertions, 13 deletions
diff --git a/auto/os/conf b/auto/os/conf index 623ba3129..abffbe3d8 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -1,4 +1,7 @@ +# Copyright (C) Igor Sysoev + + if [ ".$PLATFORM" = "." ]; then echo "checking for OS" diff --git a/auto/os/freebsd b/auto/os/freebsd index 2d3353e1e..90cb49702 100644 --- a/auto/os/freebsd +++ b/auto/os/freebsd @@ -1,4 +1,7 @@ +# Copyright (C) Igor Sysoev + + CORE_INCS="$UNIX_INCS" CORE_DEPS="$UNIX_DEPS $FREEBSD_DEPS" CORE_SRCS="$UNIX_SRCS $FREEBSD_SRCS" @@ -62,18 +65,18 @@ if [ $USE_THREADS = "rfork" ]; then echo " + using rfork()" - # kqueue's EVFILT_SIGNAL is safe - - if [ $version -gt 460101 ]; then - echo " + kqueue's EVFILT_SIGNAL is safe" - have=HAVE_SAFE_EVFILT_SIGNAL . auto/have - else - echo "$0: error: the kqueue's EVFILT_SIGNAL is unsafe on this" - echo "FreeBSD version, so --with-threads=rfork could not be used" - echo - - exit 1 - fi +# # kqueue's EVFILT_SIGNAL is safe +# +# if [ $version -gt 460101 ]; then +# echo " + kqueue's EVFILT_SIGNAL is safe" +# have=HAVE_SAFE_EVFILT_SIGNAL . auto/have +# else +# echo "$0: error: the kqueue's EVFILT_SIGNAL is unsafe on this" +# echo "FreeBSD version, so --with-threads=rfork could not be used" +# echo +# +# exit 1 +# fi fi diff --git a/auto/os/linux b/auto/os/linux index c34fba1ac..8576ea680 100644 --- a/auto/os/linux +++ b/auto/os/linux @@ -1,4 +1,7 @@ +# Copyright (C) Igor Sysoev + + CORE_INCS="$UNIX_INCS" CORE_DEPS="$UNIX_DEPS $LINUX_DEPS" CORE_SRCS="$UNIX_SRCS $LINUX_SRCS" @@ -15,7 +18,7 @@ version=`grep "#define LINUX_VERSION_CODE" /usr/include/linux/version.h \ | sed -e 's/^.* \(.*\)$/\1/'` -# enable rt signals on Linux 2.2.19 and onward +# enable the rt signals on Linux 2.2.19 and onward if [ $version -ge 131609 -o $EVENT_RTSIG = YES ]; then echo " + using rt signals" diff --git a/auto/os/solaris b/auto/os/solaris index bd6559a9f..6a4bd22b8 100644 --- a/auto/os/solaris +++ b/auto/os/solaris @@ -1,4 +1,7 @@ +# Copyright (C) Igor Sysoev + + CORE_INCS="$UNIX_INCS" CORE_DEPS="$UNIX_DEPS $SOLARIS_DEPS" CORE_SRCS="$UNIX_SRCS $SOLARIS_SRCS " |