Revision 621

makewin32.sh (revision 621)
1
#!/bin/sh
2

  
3
./configure --with-localedir=share/locale \
4
  && make
5
  && make install-strip prefix=$HOME/dist
0 6

  
ChangeLog.ja (revision 621)
1
2005-10-05
2

  
3
	* configure.in: win32 ?? SSL ???б???
4
	* makewin32.sh: win32 ?Ѥ??????ʥӥ??ɥ??????ץȤ??ɲá?
5

  
1 6
2005-10-04
2 7

  
3 8
	* libsylph/utils.c: my_tmpfile(): mkstemp() ??ľ?ܻȤ?????????
configure.in (revision 621)
53 53

  
54 54
SYLPHEED_ACLOCAL_INCLUDE(ac)
55 55

  
56
native_win32=no
57

  
56 58
case "$target" in
57 59
*-darwin*)
58 60
	CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
59 61
	;;
60 62
*-*-mingw*)
63
	native_win32=yes
61 64
	CFLAGS="$CFLAGS -mms-bitfields"
62 65
	LIBS="$LIBS -lws2_32"
63 66
	;;
......
216 219
	else
217 220
		dnl If pkg-config fails, run compile/link test.
218 221
		AC_MSG_CHECKING([if openssl is available])
219
		LIBS="$LIBS -lssl -lcrypto"
222
		if test "$native_win32" = yes; then
223
			LIBS="$LIBS -lssl32 -leay32"
224
		else
225
			LIBS="$LIBS -lssl -lcrypto"
226
		fi
220 227
		AC_TRY_LINK([
221 228
#include <openssl/opensslv.h>
222 229
],		[ return OPENSSL_VERSION_NUMBER; ],
ChangeLog (revision 621)
1
2005-10-05
2

  
3
	* configure.in: support SSL on win32.
4
	* makewin32.sh: convenient build script for win32.
5

  
1 6
2005-10-04
2 7

  
3 8
	* libsylph/utils.c: my_tmpfile(): use g_mkstemp() instead of
Makefile.am (revision 621)
16 16
	sylpheed.png \
17 17
	sylpheed-128x128.png \
18 18
	sylpheed-64x64.png \
19
	autogen.sh
19
	autogen.sh \
20
	makewin32.sh
20 21

  
21 22
BZIP2_ENV =
22 23

  

Also available in: Unified diff