view auto/lib/pcre/make @ 2:cc9f381affaa NGINX_0_1_1

nginx 0.1.1 *) Feature: the gzip_types directive. *) Feature: the tcp_nodelay directive. *) Feature: the send_lowat directive is working not only on OSes that support kqueue NOTE_LOWAT, but also on OSes that support SO_SNDLOWAT. *) Feature: the setproctitle() emulation for Linux and Solaris. *) Bugfix: the "Location" header rewrite bug fixed while the proxying. *) Bugfix: the ngx_http_chunked_module module may get caught in an endless loop. *) Bugfix: the /dev/poll module bugs fixed. *) Bugfix: the responses were corrupted when the temporary files were used while the proxying. *) Bugfix: the unescaped requests were passed to the backend. *) Bugfix: while the build configuration on Linux 2.4 the --with-poll_module parameter was required.
author Igor Sysoev <http://sysoev.ru>
date Mon, 11 Oct 2004 00:00:00 +0400
parents f0b350454894
children 4b2dafa26fe2
line wrap: on
line source


# Copyright (C) Igor Sysoev


case "$CC" in

    cl)
        makefile=makefile.msvc
        opt="CPU_OPT=$CPU_OPT LIBC=$LIBC"
    ;;

    wcl386)
        makefile=makefile.owc
        opt="CPU_OPT=$CPU_OPT"
    ;;

    bcc32)
        makefile=makefile.bcc
        opt="-DCPU_OPT=$CPU_OPT"
    ;;

esac


case $PLATFORM in

    win32)
        cp auto/lib/pcre/patch.pcre.in $PCRE
        cp auto/lib/pcre/patch.config.in $PCRE
        cp auto/lib/pcre/$makefile $PCRE

        pcre=`echo $PCRE | sed -e "s/\//$DIRSEP/g"`
        line=`echo $PCRE/pcre.h: | sed -e "s/\//$DIRSEP/g"`

        echo "$line"                                              >> $MAKEFILE
        echo "	cd $pcre"                                         >> $MAKEFILE
        echo "	\$(MAKE) -f $makefile pcre.h"                     >> $MAKEFILE
        echo "	cd ..\\..\\.."                                    >> $MAKEFILE
        echo                                                      >> $MAKEFILE

        line="$PCRE/pcre.lib:	$PCRE/pcre.h"
        line=`echo $line | sed -e "s/\//$DIRSEP/g"`

        echo "$line"                                              >> $MAKEFILE
        echo "	cd $pcre"                                         >> $MAKEFILE
        echo "	\$(MAKE) -f $makefile $opt"                       >> $MAKEFILE
        echo "	cd ..\\..\\.."                                    >> $MAKEFILE
    ;;

    *)
        PCRE_OPT="CFLAGS=\"$PCRE_OPT\""

        echo "$PCRE/pcre.h:"                                      >> $MAKEFILE
        echo "	cd $PCRE \\"                                      >> $MAKEFILE
        echo "	&& CC=\"\$(CC)\" $PCRE_OPT \\"                    >> $MAKEFILE
        echo "	./configure --disable-shared"                     >> $MAKEFILE
        echo                                                      >> $MAKEFILE
        echo "$PCRE/.libs/libpcre.a:	$PCRE/pcre.h"             >> $MAKEFILE
        echo "	cd $PCRE \\"                                      >> $MAKEFILE
        echo "	&& \$(MAKE) libpcre.la"                           >> $MAKEFILE
    ;;

esac

echo                                                              >> $MAKEFILE