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