3
# Licensed to the Apache Software Foundation (ASF) under one
4
# or more contributor license agreements. See the NOTICE file
5
# distributed with this work for additional information
6
# regarding copyright ownership. The ASF licenses this file
7
# to you under the Apache License, Version 2.0 (the
8
# "License"); you may not use this file except in compliance
9
# with the License. You may obtain a copy of the License at
11
# http://www.apache.org/licenses/LICENSE-2.0
13
# Unless required by applicable law or agreed to in writing,
14
# software distributed under the License is distributed on an
15
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
# KIND, either express or implied. See the License for the
17
# specific language governing permissions and limitations
23
echo "============ autogen.sh"
24
./autogen.sh || exit $?
26
SVN_VER_MINOR=`awk '/define SVN_VER_MINOR/ { print $3 }' subversion/include/svn_version.h`
29
grep obj/subversion/tests /etc/mnttab > /dev/null || mount-tmpfs
31
# --enable-optimize adds -flto which breaks the 1.8 C tests because
32
# they link main() from a library.
33
if [ $SVN_VER_MINOR -gt 8 ]; then
34
OPTIMIZE_OPTION='--enable-optimize'
37
echo "============ configure"
38
../build/configure CC='cc -m64 -v' \
39
--with-apr=/export/home/wandisco/buildbot/install \
40
--with-apr-util=/export/home/wandisco/buildbot/install \
41
--with-serf=/export/home/wandisco/buildbot/install \
42
--with-apxs=/export/home/wandisco/buildbot/install/bin/apxs \
43
--with-sqlite=/export/home/wandisco/buildbot/sqlite-amalgamation-3071501/sqlite3.c \
48
echo "============ make"