buildconf revision c5694b1d7dca4f561ebce416b5ffacf856f825aa
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# Copyright 1999-2005 The Apache Software Foundation or its licensors, as
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# applicable.
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# Licensed under the Apache License, Version 2.0 (the "License");
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# you may not use this file except in compliance with the License.
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# You may obtain a copy of the License at
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# Unless required by applicable law or agreed to in writing, software
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# distributed under the License is distributed on an "AS IS" BASIS,
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# See the License for the specific language governing permissions and
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# limitations under the License.
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# buildconf: Build the support scripts needed to compile from a
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# checked-out version of the source code.
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# set a couple of defaults for where we should be looking for our support libs.
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco# can be overridden with --with-apr=[dir] and --with-apr-util=[dir]
eb32a77fdb57f20c042b7b79b28a4fb4060cb949Lubos Kosco -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
b645988bdc1cf4f2f82b8c00ed041ddddd822c24Lubos Kosco# Check to be sure that we have the srclib dependencies checked-out
817883e9f0d419428e8236a09b77cdeeaa034df7Knut Anders Hatlen if [ -f "${dir}/build/apr_common.m4" ]; then
be5cdf850da5383468637c6937c016f26bd339cfLubos Kosco echo "found apr source: ${dir}"
echo " svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr"
if [ -f "${dir}/Makefile.in" ]; then
echo " svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk srclib/apr-util"
# Optionally copy libtool-1.3.x files
RELEASE=1
cat ./build/rpm/httpd.spec.in | \
> httpd.spec )