blob: f5eabe900356a61738ede3fd1330967b01be4500 [file] [log] [blame]
Vladimir Glazounov815f1572009-01-21 17:47:03 +00001@echo off
Andrew Ristf941cbe2012-03-29 00:47:44 +00002rem *************************************************************
3rem
4rem Licensed to the Apache Software Foundation (ASF) under one
5rem or more contributor license agreements. See the NOTICE file
6rem distributed with this work for additional information
7rem regarding copyright ownership. The ASF licenses this file
8rem to you under the Apache License, Version 2.0 (the
9rem "License")rem you may not use this file except in compliance
10rem with the License. You may obtain a copy of the License at
11rem
12rem http://www.apache.org/licenses/LICENSE-2.0
13rem
14rem Unless required by applicable law or agreed to in writing,
15rem software distributed under the License is distributed on an
16rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17rem KIND, either express or implied. See the License for the
18rem specific language governing permissions and limitations
19rem under the License.
20rem
21rem *************************************************************
Vladimir Glazounov815f1572009-01-21 17:47:03 +000022setlocal
Yuri Dario1c118422017-12-02 13:14:51 +000023SET JAVA_HOME=e:\os2\java160
24SET MY_ANT_HOME=e:/os2/java160/apache-ant-1.7.0
Kurt Zenker2ab99862009-09-10 22:44:47 +000025SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
Yuri Dario0b19c4b2012-02-16 14:44:11 +000026
27set config_shell=sh
Yuri Dario9ef080c2014-02-20 15:30:57 +000028set perl_sh_dir=%UNIXROOT%/usr/bin
Yuri Dario0b19c4b2012-02-16 14:44:11 +000029
Yuri Dario1c118422017-12-02 13:14:51 +000030SET CFG_OPT=
31SET CFG_OPT=%CFG_OPT% --prefix=/@unixroot/usr --with-system-zlib --with-system-jpeg
32SET CFG_OPT=%CFG_OPT% --without-stlport --with-system-icu --with-system-curl
33SET CFG_OPT=%CFG_OPT% --with-system-python --with-system-openssl --with-system-libxml
34SET CFG_OPT=%CFG_OPT% --with-system-libxslt --disable-werror
35SET CFG_OPT=%CFG_OPT% --disable-odk --with-x=no --disable-fontconfig --disable-gnome-vfs
36SET CFG_OPT=%CFG_OPT% --disable-gtk --with-java=yes --disable-gcjaot --without-fonts
37SET CFG_OPT=%CFG_OPT% --with-ant-home=%MY_ANT_HOME% --without-junit
38SET CFG_OPT=%CFG_OPT% --with-system-apr --with-system-apr-util --with-system-serf
39SET CFG_OPT=%CFG_OPT% --enable-bundled-dictionaries --enable-category-b --with-system-nss
40SET CFG_OPT=%CFG_OPT% --disable-unit-tests
Yuri Dariob350a9c2017-12-02 13:16:33 +000041SET CFG_OPT=%CFG_OPT% --disable-online-update
Yuri Darioa94441c2017-12-14 14:35:59 +000042SET CFG_OPT=%CFG_OPT% --with-system-expat
Yuri Dario1c118422017-12-02 13:14:51 +000043SET CFG_OPT=%CFG_OPT% --with-lang="de es fr it nl ru"
44
45sh ./configure %CFG_OPT% | tee configure.log
46
47REM auto* breaks PATH for perl, workaround
48perl set_soenv
49
Vladimir Glazounov815f1572009-01-21 17:47:03 +000050endlocal