diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-06-30 22:20:08 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-06-30 22:20:08 +0000 |
| commit | 85554b3c1103c226fb16d20402ccea1dbc08f8c2 (patch) | |
| tree | dcb64b2e18d52a19fbdd985ca8de79e6d36c16ab /configure | |
| parent | 4fca7a92b9eeaba9c327ca8b257b224c5c03e79b (diff) | |
| download | s6-rc-85554b3c1103c226fb16d20402ccea1dbc08f8c2.tar.gz | |
Add s6-rc-repo-init, s6-rc-repo-populate
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -26,6 +26,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR global configuration files [PREFIX/etc] --pkgconfdir=DIR pkg-config .pc files [PREFIX/lib/pkgconfig] --livedir=DIR default live directory [/run/s6-rc] + --repodir=DIR default repo directory [/var/lib/s6-rc/repository] If no --prefix option is given, by default libdir (but not dynlibdir) will be /usr/lib, and includedir will be /usr/include. @@ -170,6 +171,7 @@ vpaths='' vpathd='' build= livedir=/run/s6-rc +repodir=/var/lib/s6-rc/repository for arg ; do case "$arg" in @@ -208,6 +210,8 @@ for arg ; do --enable-absolute-paths|--enable-absolute-paths=yes) abspath=true ;; --disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;; --livedir=*) livedir=${arg#*=} ;; + --repodir=*) repodir=${arg#*=} ;; + --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; --host=*|--target=*) target=${arg#*=} ;; @@ -236,7 +240,7 @@ fi # Expand installation directories stripdir prefix -for i in exec_prefix dynlibdir libexecdir bindir libdir includedir sysconfdir pkgconfdir sysdeps sproot livedir ; do +for i in exec_prefix dynlibdir libexecdir bindir libdir includedir sysconfdir pkgconfdir sysdeps sproot livedir repodir ; do eval tmp=\${$i} eval $i=$tmp stripdir $i @@ -546,6 +550,8 @@ fi echo "#define ${package_macro_name}_LIBEXECPREFIX \"$libexecdir/\"" echo "#define ${package_macro_name}_SYSCONFPREFIX \"$sysconfdir/\"" echo "#define ${package_macro_name}_LIVE_BASE \"$livedir\"" +echo "#define ${package_macro_name}_REPO_BASE \"$repodir\"" + echo echo "#endif" exec 1>&3 3>&- |
