buildconf revision 9045837071eae7a4b55204a21f31ccee17749af3
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# ====================================================================
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# The Apache Software License, Version 1.1
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Copyright (c) 2000-2002 The Apache Software Foundation. All rights
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Redistribution and use in source and binary forms, with or without
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# modification, are permitted provided that the following conditions
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# 1. Redistributions of source code must retain the above copyright
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# notice, this list of conditions and the following disclaimer.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# 2. Redistributions in binary form must reproduce the above copyright
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# notice, this list of conditions and the following disclaimer in
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# the documentation and/or other materials provided with the
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# distribution.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# 3. The end-user documentation included with the redistribution,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# if any, must include the following acknowledgment:
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# "This product includes software developed by the
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Apache Software Foundation (http://www.apache.org/)."
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Alternately, this acknowledgment may appear in the software itself,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# if and wherever such third-party acknowledgments normally appear.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# 4. The names "Apache" and "Apache Software Foundation" must
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# not be used to endorse or promote products derived from this
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# software without prior written permission. For written
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# permission, please contact apache@apache.org.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# 5. Products derived from this software may not be called "Apache",
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# nor may "Apache" appear in their name, without prior written
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# permission of the Apache Software Foundation.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# SUCH DAMAGE.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# ====================================================================
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# This software consists of voluntary contributions made by many
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# individuals on behalf of the Apache Software Foundation. For more
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# information on the Apache Software Foundation, please see
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# buildconf: Build the support scripts needed to compile from a
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# checked-out version of the source code.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Check to be sure that we have the srclib dependencies checked-out
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekif [ ! -d srclib/apr -o ! -f srclib/apr/build/apr_common.m4 ]; then
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo "You don't have a srclib/apr/ subdirectory. Please get one:"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " cd srclib"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " (password 'anoncvs')"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekif [ ! -d srclib/apr-util -o ! -f srclib/apr-util/Makefile.in ]; then
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo "You don't have a srclib/apr-util/ subdirectory. Please get one:"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " cd srclib"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " (password 'anoncvs')"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek echo " cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr-util"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# These are temporary until Roy finishes the other build changes
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Remove autoconf 2.5x's cache directory
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# end temporary stuff
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekcross_compile_warning="warning: AC_TRY_RUN called without default to allow cross compiling"
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek# Optionally copy libtool-1.3.x files
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek${AUTOHEADER:-autoheader} 2>&1 | grep -v "$cross_compile_warning"