+ # Extract the distribution tar in the build directory,
+ # ignore the first directory level
+ $TAR xvf "$SRCDIR"/*.tar.* --strip 1
+
+ # Build in extracted source tree
+ ./configure "${CONF_OPTS[@]}" || failed_configure
+ ;;
+
+oot-dist)
+ print_header "Build: Distribution Out of tree"
+
+ # Create and enter a temporary build directory
+ builddir=$(mktemp_compat -d)
+ cd "$builddir"
+
+ # Run configure out of tree and generate the tar file
+ "$SRCDIR/configure" || failed_configure
+ $MAKE dist
+
+ dist_srcdir="$(mktemp_compat -d)"
+ cd "$dist_srcdir"
+
+ # Extract the distribution tar in the new source directory,
+ # ignore the first directory level
+ $TAR xvf "$builddir"/*.tar.* --strip 1
+
+ # Create and enter a second temporary build directory
+ builddir="$(mktemp_compat -d)"
+ cd "$builddir"
+
+ # Run configure from the extracted distribution tar,
+ # out of the source tree
+ "$dist_srcdir/configure" "${CONF_OPTS[@]}" || failed_configure
+ ;;
+
+*)
+ print_header "Build: Standard In-tree"
+ ./configure "${CONF_OPTS[@]}" || failed_configure
+ ;;