diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-12 19:57:08 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-12 19:57:08 +0300 |
commit | 67f88e9cc678d31b5995518922d3fcb63a129465 (patch) | |
tree | 370c489b498feddaf17f12b125f6f75d69cdb9f2 /auto/lib/zlib | |
parent | a893eab667078a8ad9f473296663b36e6ade111a (diff) |
nginx-0.0.2-2004-03-12-19:57:08 import
Diffstat (limited to 'auto/lib/zlib')
-rw-r--r-- | auto/lib/zlib/make | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/auto/lib/zlib/make b/auto/lib/zlib/make index 2c02ca717..46cd653d9 100644 --- a/auto/lib/zlib/make +++ b/auto/lib/zlib/make @@ -40,17 +40,31 @@ case $PLATFORM in done=YES ;; + # FreeBSD: i386 + # Linux: i686 *:i386 | *:i686) - if [ $ZLIB_ASM = pentiumpro ]; then - echo " cd $ZLIB \\" >> $MAKEFILE - echo " && cp contrib/asm686/match.S . \\" >> $MAKEFILE - echo " && CC=$CC CFLAGS=\"$ZLIB_OPT -DASMV\" \\" >> $MAKEFILE - echo " ./configure \\" >> $MAKEFILE - echo " && \$(MAKE) OBJA=match.o libz.a" >> $MAKEFILE - - done=YES - fi + case $ZLIB_ASM in + pentium) + echo " cd $ZLIB \\" >> $MAKEFILE + echo " && cp contrib/asm586/match.S . \\" >> $MAKEFILE + echo " && CC=$CC CFLAGS=\"$ZLIB_OPT -DASMV\" \\" >> $MAKEFILE + echo " ./configure \\" >> $MAKEFILE + echo " && \$(MAKE) OBJA=match.o libz.a" >> $MAKEFILE + + done=YES + ;; + + pentiumpro) + echo " cd $ZLIB \\" >> $MAKEFILE + echo " && cp contrib/asm686/match.S . \\" >> $MAKEFILE + echo " && CC=$CC CFLAGS=\"$ZLIB_OPT -DASMV\" \\" >> $MAKEFILE + echo " ./configure \\" >> $MAKEFILE + echo " && \$(MAKE) OBJA=match.o libz.a" >> $MAKEFILE + + done=YES + ;; + esac ;; esac |