Fix build error with GCC6
[profile/ivi/log4cxx.git] / configure-aprutil.bat
1 ECHO OFF
2 REM  Licensed to the Apache Software Foundation (ASF) under one or more
3 REM  contributor license agreements.  See the NOTICE file distributed with
4 REM  this work for additional information regarding copyright ownership.
5 REM  The ASF licenses this file to You under the Apache License, Version 2.0
6 REM  (the "License"); you may not use this file except in compliance with
7 REM  the License.  You may obtain a copy of the License at
8 REM 
9 REM       http://www.apache.org/licenses/LICENSE-2.0
10 REM 
11 REM  Unless required by applicable law or agreed to in writing, software
12 REM  distributed under the License is distributed on an "AS IS" BASIS,
13 REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 REM  See the License for the specific language governing permissions and
15 REM  limitations under the License.
16 REM 
17 REM 
18 sed -i -e "s/#define APU_HAVE_APR_ICONV\b.*/#define APU_HAVE_APR_ICONV 0/" ..\apr-util\include\apu.hw
19 sed -i -e "s/#define APR_HAS_LDAP\b.*/#define APR_HAS_LDAP 0/" ..\apr-util\include\apr_ldap.hw
20