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