summaryrefslogtreecommitdiffstats
path: root/scripts/conf.mingw.sh
blob: 3828a989cefe64333c9f5d82a7e02af7a126a1df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash.exe
# $LynxId: conf.mingw.sh,v 1.2 2014/02/13 13:30:54 tom Exp $

LYNX_DEV=d
LYNX_TOP=/cygwin/mingw/lynx2.8.7dev.13
LYNX_ETC=$LYNX_TOP/lynx-conf

LDFLAGS="-mno-cygwin -static -L/mingw/lib" \
LIBS="-lwsock32 -lgdi32 -lmsvcrt -liconv" \
CFLAGS="-mno-cygwin -I/mingw/include -I/mingw/include/openssl -W -Wall -O3 -D_WINDOWS -DSH_EX -DWIN_EX -DNOUSERS -DNOSIGHUP -DDOSPATH -DUSE_ALT_BLAT_MAILER -DBOXHORI=0 -DBOXVERT=0" \
CPPFLAGS="-mno-cygwin -I/mingw/include -I/mingw/include/openssl" \
./configure --prefix=/$LYNX_DEV$LYNX_ETC \
--host=mingw32 \
--disable-dired-override \
--disable-full-paths \
--enable-addrlist-page \
--enable-change-exec \
--enable-charset-choice \
--enable-default-colors \
--enable-exec-links \
--enable-externs \
--enable-file-upload \
--enable-gzip-help \
--enable-nested-tables \
--enable-nls \
--enable-vertrace \
--includedir=/mingw/include \
--sysconfdir=/$LYNX_DEV$LYNX_ETC \
--datadir=/$LYNX_DEV$LYNX_ETC \
--with-bzlib \
--with-cfg-file=$LYNX_DEV:$LYNX_ETC/lynx.cfg \
--with-lss-file=$LYNX_DEV:$LYNX_ETC/lynx.lss \
--with-mime-libdir=c:/ \
--with-nls-datadir=d:/cygwin/mingw/share \
--with-pkg-config=no \
--with-screen=curses \
--with-ssl=/mingw/lib \
--with-zlib