buildconf revision 8fae12696bce44be9ce4c56888690cad8ac7b8f9
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Licensed to the Apache Software Foundation (ASF) under one or more
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# contributor license agreements. See the NOTICE file distributed with
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# this work for additional information regarding copyright ownership.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# The ASF licenses this file to You under the Apache License, Version 2.0
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# (the "License"); you may not use this file except in compliance with
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# the License. You may obtain a copy of the License at
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# http://www.apache.org/licenses/LICENSE-2.0
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Unless required by applicable law or agreed to in writing, software
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# distributed under the License is distributed on an "AS IS" BASIS,
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# See the License for the specific language governing permissions and
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# limitations under the License.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# buildconf: Build the support scripts needed to compile from a
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# checked-out version of the source code.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# version check for AC_PROG_CC_C99
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfieldac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;q'`
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# versions older than 2.50 are denied by AC_PREREQ
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield echo WARNING: You are using an outdated version of autoconf.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield echo WARNING: This may lead to less than optimal performance of httpd.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield echo WARNING: You should use autoconf 2.60 or newer.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# set a couple of defaults for where we should be looking for our support libs.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# can be overridden with --with-apr=[dir] and --with-apr-util=[dir]
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
if [ -f "${dir}/build/apr_common.m4" ]; then
echo " svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr"
if test -z "$apu_src_dir"; then
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 )
cd server