1#!/bin/sh -xe 2# 3# 4# Copyright (c) 2010 Apple Inc. All rights reserved. 5# 6# @APPLE_LICENSE_HEADER_START@ 7# 8# Redistribution and use in source and binary forms, with or without 9# modification, are permitted provided that the following conditions 10# are met: 11# 12# 1. Redistributions of source code must retain the above copyright 13# notice, this list of conditions and the following disclaimer. 14# 2. Redistributions in binary form must reproduce the above copyright 15# notice, this list of conditions and the following disclaimer in the 16# documentation and/or other materials provided with the distribution. 17# 3. Neither the name of Apple Inc. ("Apple") nor the names of its 18# contributors may be used to endorse or promote products derived from 19# this software without specific prior written permission. 20# 21# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY 22# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 25# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 27# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 28# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31# 32# Portions of this software have been released under the following terms: 33# 34# (c) Copyright 1989-1993 OPEN SOFTWARE FOUNDATION, INC. 35# (c) Copyright 1989-1993 HEWLETT-PACKARD COMPANY 36# (c) Copyright 1989-1993 DIGITAL EQUIPMENT CORPORATION 37# 38# To anyone who acknowledges that this file is provided "AS IS" 39# without any express or implied warranty: 40# permission to use, copy, modify, and distribute this file for any 41# purpose is hereby granted without fee, provided that the above 42# copyright notices and this notice appears in all source code copies, 43# and that none of the names of Open Software Foundation, Inc., Hewlett- 44# Packard Company or Digital Equipment Corporation be used 45# in advertising or publicity pertaining to distribution of the software 46# without specific, written prior permission. Neither Open Software 47# Foundation, Inc., Hewlett-Packard Company nor Digital 48# Equipment Corporation makes any representations about the suitability 49# of this software for any purpose. 50# 51# Copyright (c) 2007, Novell, Inc. All rights reserved. 52# Redistribution and use in source and binary forms, with or without 53# modification, are permitted provided that the following conditions 54# are met: 55# 56# 1. Redistributions of source code must retain the above copyright 57# notice, this list of conditions and the following disclaimer. 58# 2. Redistributions in binary form must reproduce the above copyright 59# notice, this list of conditions and the following disclaimer in the 60# documentation and/or other materials provided with the distribution. 61# 3. Neither the name of Novell Inc. nor the names of its contributors 62# may be used to endorse or promote products derived from this 63# this software without specific prior written permission. 64# 65# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 66# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 67# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 68# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY 69# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 70# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 71# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 72# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 73# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 74# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 75# 76# @APPLE_LICENSE_HEADER_END@ 77# 78# 79 80ROOT=`pwd` 81mkdir -p build || exit $? 82autoreconf -fi || exit $? 83