xref: /aoo42x/main/configure.cmd (revision 9b0aaee0)
1@echo off
2rem *************************************************************
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 *************************************************************
22setlocal
23SET JAVA_HOME=e:\os2\java160
24SET MY_ANT_HOME=e:/os2/java160/apache-ant-1.7.0
25SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
26
27set config_shell=sh
28set perl_sh_dir=%UNIXROOT%/usr/bin
29
30SET 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
41SET CFG_OPT=%CFG_OPT% --disable-online-update
42SET CFG_OPT=%CFG_OPT% --with-system-expat
43SET 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
50endlocal
51