Mercurial > hg > nginx
diff auto/lib/md5/conf @ 282:30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 09 Mar 2004 19:47:07 +0000 |
parents | 5238e93961a1 |
children | f81d075ad172 |
line wrap: on
line diff
--- a/auto/lib/md5/conf +++ b/auto/lib/md5/conf @@ -12,13 +12,25 @@ if [ $MD5 != NONE ]; then CORE_INCS="$CORE_INCS -I $MD5" - if [ "$PLATFORM" = "win32" ]; then - CORE_LIBS="$CORE_LIBS md5.lib" - CORE_LINK="$CORE_LINK -libpath:$MD5" - else - LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" - CORE_LIBS="$CORE_LIBS -L $MD5 -lmd5" - fi + case $CC in + + cl) + LINK_DEPS="$LINK_DEPS $MD5/md5.lib" + CORE_LIBS="$CORE_LIBS md5.lib" + CORE_LINK="$CORE_LINK -libpath:$MD5" + ;; + + wcl386) + LINK_DEPS="$LINK_DEPS $MD5/md5.lib" + CORE_LIBS="$CORE_LIBS $MD5/md5.lib" + ;; + + *) + LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" + CORE_LIBS="$CORE_LIBS -L $MD5 -lmd5" + ;; + + esac else