#!/bin/sh # Copyright (C) 2005, 2006 Douglas Gregor. # Copyright (C) 2006 The Trustees of Indiana University # Copyright (C) 2010 Bryce Lelbach # Copyright 2018-2019 Rene Rivera # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) # boostinspect:notab - Tabs are required for the Makefile. B2="" TOOLSET="" B2_CONFIG="" for option do case $option in -help | --help | -h) want_help=yes ;; -with-toolset=* | --with-toolset=* ) TOOLSET=`expr "x$option" : "x-*with-toolset=\(.*\)"` ;; -*) { echo "error: unrecognized option: $option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; esac done if test "x$want_help" = xyes; then cat < bootstrap.log 2>&1 if [ $? -ne 0 ]; then echo echo "Failed to bootstrap the build engine" echo "Consult 'bootstrap.log' for more details" exit 1 fi cd "$pwd" B2="$my_dir/src/engine/b2" cp "$B2" . fi cat << EOF Bootstrapping is done. To build and install, run: ./b2 install --prefix= EOF