comparison auto/lib/pcre/conf @ 5360:3d2d3e1cf427

Win32: MinGW GCC compatibility. Several warnings silenced, notably (ngx_socket_t) -1 is now checked on socket operations instead of -1, as ngx_socket_t is unsigned on win32 and gcc complains on comparison. With this patch, it's now possible to compile nginx using mingw gcc, with options we normally compile on win32.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 04 Sep 2013 20:48:28 +0400
parents b39d947fcb82
children 78f8ac479735
comparison
equal deleted inserted replaced
5359:2fda9065d0f4 5360:3d2d3e1cf427
71 esac 71 esac
72 ;; 72 ;;
73 73
74 *) 74 *)
75 have=NGX_PCRE . auto/have 75 have=NGX_PCRE . auto/have
76
77 if [ "$NGX_PLATFORM" = win32 ]; then
78 have=PCRE_STATIC . auto/have
79 fi
80
76 CORE_DEPS="$CORE_DEPS $PCRE/pcre.h" 81 CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"
77 LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a" 82 LINK_DEPS="$LINK_DEPS $PCRE/.libs/libpcre.a"
78 CORE_LIBS="$CORE_LIBS $PCRE/.libs/libpcre.a" 83 CORE_LIBS="$CORE_LIBS $PCRE/.libs/libpcre.a"
79 ;; 84 ;;
80 85