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