Commit ff6da458 authored by Pekka Pessi's avatar Pekka Pessi

sac-general.m4: using -DIN_LIBSOFIA_SIP_UA -lpthreadVC2 with mingw.

mingw compilation problem reported by Stanislav Zahariev, solution is not
tested at all.

darcs-hash:20060926000004-65a35-5d38aa020f4ce22edaa32787f4379d006851d1da.gz
parent cf65e3a9
...@@ -444,10 +444,11 @@ fi ...@@ -444,10 +444,11 @@ fi
if test "$ac_cc_environment" = mingw32 ; then if test "$ac_cc_environment" = mingw32 ; then
CFLAGS="$CFLAGS -I\$(top_srcdir)/win32/pthread -DWINVER=0x0501 \ CFLAGS="$CFLAGS -I\$(top_srcdir)/win32/pthread -DWINVER=0x0501 \
-D_WIN32_WINNT=0x0501 -DIN_LIBSOFIA_SIP_UA -mms-bitfields \ -D_WIN32_WINNT=0x0501 -DIN_LIBSOFIA_SIP_UA -DIN_LIBSOFIA_SRES \
-mms-bitfields \
-pipe -mno-cygwin -mwindows -mconsole -Wall -g -O0" -pipe -mno-cygwin -mwindows -mconsole -Wall -g -O0"
LDFLAGS="$LDFLAGS -Wl,--enable-auto-image-base" LDFLAGS="$LDFLAGS -Wl,--enable-auto-image-base"
LIBS="-L\$(top_srcdir)/win32/pthread -lpthread -lws2_32 \ LIBS="-L\$(top_srcdir)/win32/pthread -lpthreadVC2 -lws2_32 \
-lwsock32" -lwsock32"
MINGW_ENVIRONMENT=1 MINGW_ENVIRONMENT=1
AC_SUBST(MINGW_ENVIRONMENT) AC_SUBST(MINGW_ENVIRONMENT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment