38 lines
1.2 KiB
Bash
Executable file
38 lines
1.2 KiB
Bash
Executable file
#!/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
|