lnstools

Linux namespace tools
git clone https://ccx.te2000.cz/git/lnstools
Log | Files | Refs | README

commit 9d57a7185de476a82c6406b912c7df7c3798144b
parent 2d329ba3abe72ceaad4dd04a35fc9ca7ebe86430
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Mon,  8 Dec 2025 05:18:07 +0000

Update configure for new scripts

Diffstat:
Mconfigure | 19++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)

diff --git a/configure b/configure @@ -5,30 +5,20 @@ export sh usage () { cat <<EOF -Usage: $0 [OPTION]... [TARGET] +Usage: $0 [OPTION]... Defaults for the options are specified in brackets. -System types: - --target=TARGET configure to run on target TARGET [detected] - --host=TARGET same as --target - Installation directories: --prefix=PREFIX main installation prefix [/] - --exec-prefix=EPREFIX installation prefix for executable files [PREFIX] - -Fine tuning of the installation directories: --dynlibdir=DIR shared library files [PREFIX/lib] - --bindir=BINDIR user executables [EPREFIX/bin] - --libexecdir=DIR package-scoped executables [EPREFIX/libexec] + --bindir=BINDIR user executables [PREFIX/bin] + --libexecdir=DIR package-scoped executables [PREFIX/libexec] --libdir=DIR static library files [PREFIX/lib] --includedir=DIR C header files [PREFIX/include] --sysconfdir=DIR global configuration files [PREFIX/etc] --pkgconfdir=DIR pkg-config .pc files [PREFIX/lib/pkgconfig] - If no --prefix option is given, by default libdir (but not dynlibdir) will be - /usr/lib, and includedir will be /usr/include. - Dependencies: --with-sysdeps=DIR use sysdeps in DIR [PREFIX/lib/skalibs/sysdeps] --with-include=DIR add DIR to the list of searched directories for headers @@ -239,6 +229,7 @@ case $enable_abspath in esac prog_lns_mounts_to_env=$bindir/lns-mount-to-env +prog_lns_prepare_chroot=$bindir/lns-prepare-chroot die_notfound() { printf >&2 "configure: fatal: absolute paths required and path to '%s' was not found\n" "$1" @@ -252,6 +243,7 @@ test -n "$prog_if" || die_notfound if test -n "$prog_importas" || die_notfound importas test -n "$prog_ln" || die_notfound ln test -n "$prog_lns_mounts_to_env" || die_notfound lns-mounts-to-env +test -n "$prog_lns_prepare_chroot" || die_notfound lns-mounts-to-env test -n "$prog_mkdir" || die_notfound mkdir test -n "$prog_mknod" || die_notfound mknod test -n "$prog_mount" || die_notfound mount @@ -300,6 +292,7 @@ mk_script_gen() { importas="$prog_importas" \ ln="$prog_ln" \ lns-mounts-to-env="$prog_lns_mounts_to_env" \ + lns-prepare-chroot="$prog_lns_prepare_chroot" \ mkdir="$prog_mkdir" \ mknod="$prog_mknod" \ mount="$prog_mount" \