diff --git a/configure b/bootstrap.sh similarity index 81% rename from configure rename to bootstrap.sh index 4e967e6227..f8d2c71b51 100755 --- a/configure +++ b/bootstrap.sh @@ -133,7 +133,7 @@ done if test "x$want_help" = xyes; then cat < user-config.jam < project-config.jam < ] +{ + using $TOOLSET ; +} + +project : default-build $TOOLSET ; EOF # - Python configuration if test "x$flag_no_python" = x; then - cat >> user-config.jam <> project-config.jam < Makefile <> project-config.jam << EOF -all: .dummy - @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS)" - @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam \$(LIBS) || \\ - echo "Not all Boost libraries built properly." - -clean: .dummy - rm -rf bin.v2 - -distclean: clean - rm -rf Makefile config.log - -check: .dummy - @cd status && ../\$(BJAM) \$(BJAM_CONFIG) --user-config=../user-config.jam || echo "Some Boost regression tests failed. This is normal for many compilers." - -install: .dummy - @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(prefix) --exec-prefix=\$(exec_prefix) --libdir=\$(libdir) --includedir=\$(includedir) \$(LIBS) install" - @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(prefix) --exec-prefix=\$(exec_prefix) --libdir=\$(libdir) --includedir=\$(includedir) \$(LIBS) install || echo "Not all Boost libraries built properly." - -.dummy: +path-constant ICU_PATH : $ICU_ROOT ; EOF +fi + +cat >> project-config.jam << EOF + +# List of --with- and --without- +# options. If left empty, all libraries will be built. +# Options specified on the command line completely +# override this variable. +libraries = $LIBS ; + +# These settings are equivivalent to corresponding command-line +# options. +option.set prefix : $PREFIX ; +option.set exec-prefix : $EPREFIX ; +option.set libdir : $LIBDIR ; +option.set includedir : $INCLUDEDIR ; +EOF + +cat << EOF + +Bootstrapping is done. To build, run: + + ./bjam + +To adjust configuration, edit 'project-config.jam'. +Further information: + + - Command line help: + ./bjam --help + + - Getting started guide: + http://www.boost.org/doc/libs/1_38_0/more/getting_started/unix-variants.html + + - Boost.Build documentation: + http://www.boost.org/boost-build2/doc/html/index.html + +EOF \ No newline at end of file