xref: /trunk/main/configure.cmd (revision 77d3ad5a1173d6eeae8a9158bfa28c93f17f4650)
1cdf0e10cSrcweir@echo off
25b501c92SAndrew Ristrem *************************************************************
35b501c92SAndrew Ristrem
45b501c92SAndrew Ristrem  Licensed to the Apache Software Foundation (ASF) under one
55b501c92SAndrew Ristrem  or more contributor license agreements.  See the NOTICE file
65b501c92SAndrew Ristrem  distributed with this work for additional information
75b501c92SAndrew Ristrem  regarding copyright ownership.  The ASF licenses this file
85b501c92SAndrew Ristrem  to you under the Apache License, Version 2.0 (the
95b501c92SAndrew Ristrem  "License")rem you may not use this file except in compliance
105b501c92SAndrew Ristrem  with the License.  You may obtain a copy of the License at
115b501c92SAndrew Ristrem
125b501c92SAndrew Ristrem    http://www.apache.org/licenses/LICENSE-2.0
135b501c92SAndrew Ristrem
145b501c92SAndrew Ristrem  Unless required by applicable law or agreed to in writing,
155b501c92SAndrew Ristrem  software distributed under the License is distributed on an
165b501c92SAndrew Ristrem  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
175b501c92SAndrew Ristrem  KIND, either express or implied.  See the License for the
185b501c92SAndrew Ristrem  specific language governing permissions and limitations
195b501c92SAndrew Ristrem  under the License.
205b501c92SAndrew Ristrem
215b501c92SAndrew Ristrem *************************************************************
22cdf0e10cSrcweirsetlocal
23499d8cd9SYuri DarioSET JAVA_HOME=e:\os2\java160
24499d8cd9SYuri DarioSET MY_ANT_HOME=e:/os2/java160/apache-ant-1.7.0
25cdf0e10cSrcweirSET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
2677b1a1ddSYuri Dario
2777b1a1ddSYuri Darioset config_shell=sh
2815fed223SYuri Darioset perl_sh_dir=%UNIXROOT%/usr/bin
2977b1a1ddSYuri Dario
30499d8cd9SYuri DarioSET CFG_OPT=
31499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --prefix=/@unixroot/usr --with-system-zlib --with-system-jpeg
32499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --without-stlport --with-system-icu --with-system-curl
33499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --with-system-python --with-system-openssl --with-system-libxml
34499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --with-system-libxslt --disable-werror
35499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --disable-odk --with-x=no --disable-fontconfig --disable-gnome-vfs
36499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --disable-gtk --with-java=yes --disable-gcjaot --without-fonts
37499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --with-ant-home=%MY_ANT_HOME% --without-junit
38499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --with-system-apr --with-system-apr-util --with-system-serf
39499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --enable-bundled-dictionaries --enable-category-b --with-system-nss
40499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --disable-unit-tests
410d2cdc4aSYuri DarioSET CFG_OPT=%CFG_OPT% --disable-online-update
42*9b0aaee0SYuri DarioSET CFG_OPT=%CFG_OPT% --with-system-expat
43499d8cd9SYuri DarioSET CFG_OPT=%CFG_OPT% --with-lang="de es fr it nl ru"
44499d8cd9SYuri Dario
45499d8cd9SYuri Dariosh ./configure %CFG_OPT% | tee configure.log
46499d8cd9SYuri Dario
47499d8cd9SYuri DarioREM auto* breaks PATH for perl, workaround
48499d8cd9SYuri Darioperl set_soenv
49499d8cd9SYuri Dario
50cdf0e10cSrcweirendlocal
51