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