Mercurial > hg > nginx-quic
view auto/os/conf @ 273:34329e143004
nginx-0.0.2-2004-03-01-19:45:48 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Mar 2004 16:45:48 +0000 |
parents | e6938ca7331a |
children | 0ba4821f4460 |
line wrap: on
line source
if [ ".$PLATFORM" = "." ]; then echo "checking for OS" SYSTEM=`uname -s 2>/dev/null` RELEASE=`uname -r 2>/dev/null` MACHINE=`uname -m 2>/dev/null` echo " + $SYSTEM $RELEASE $MACHINE" PLATFORM="$SYSTEM:$RELEASE:$MACHINE"; else echo "building for $PLATFORM" fi case $PLATFORM in FreeBSD:*) . auto/os/freebsd ;; Linux:*) . auto/os/linux ;; SunOS:*) . auto/os/solaris ;; win32) CORE_INCS="$WIN32_INCS" CORE_DEPS="$WIN32_DEPS" CORE_SRCS="$WIN32_SRCS $SELECT_SRCS $IOCP_SRCS" EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE $IOCP_MODULE" CFLAGS="$CFLAGS -D HAVE_AIO=1 -D HAVE_IOCP=1" CORE_LIBS="$CORE_LIBS ws2_32.lib" # msvcrt.dll CORE_LIBS="$CORE_LIBS msvcrt.lib" ;; esac