diff options
author | 2023-03-09 12:46:11 -0500 | |
---|---|---|
committer | 2023-03-09 12:46:11 -0500 | |
commit | b689b69f6c3b8a8ba633d6300cef6a19972d53dc (patch) | |
tree | f3b4a14761bb8ad74aa408ea0f08e961c2e8e7a7 /configure.ac | |
parent | testing (diff) | |
download | firejail-b689b69f6c3b8a8ba633d6300cef6a19972d53dc.tar.gz firejail-b689b69f6c3b8a8ba633d6300cef6a19972d53dc.tar.zst firejail-b689b69f6c3b8a8ba633d6300cef6a19972d53dc.zip |
make --private-lib a compile time option, disabled by default
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2dd49bcb2..357d1da45 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -147,6 +147,14 @@ AS_IF([test "x$enable_private_home" != "xno"], [ | |||
147 | HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME" | 147 | HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME" |
148 | ]) | 148 | ]) |
149 | 149 | ||
150 | HAVE_PRIVATE_LIB="" | ||
151 | AC_SUBST([HAVE_PRIVATE_LIB]) | ||
152 | AC_ARG_ENABLE([private-lib], | ||
153 | [AS_HELP_STRING([--disable-private-lib], [disable private lib feature])]) | ||
154 | AS_IF([test "x$enable_private_lib" = "xyes"], [ | ||
155 | HAVE_PRIVATE_LIB="-DHAVE_PRIVATE_LIB" | ||
156 | ]) | ||
157 | |||
150 | HAVE_CHROOT="" | 158 | HAVE_CHROOT="" |
151 | AC_SUBST([HAVE_CHROOT]) | 159 | AC_SUBST([HAVE_CHROOT]) |
152 | AC_ARG_ENABLE([chroot], | 160 | AC_ARG_ENABLE([chroot], |
@@ -268,6 +276,7 @@ AS_IF([test "x$enable_lts" = "xyes"], [ | |||
268 | HAVE_MAN="-DHAVE_MAN" | 276 | HAVE_MAN="-DHAVE_MAN" |
269 | HAVE_FIRETUNNEL="" | 277 | HAVE_FIRETUNNEL="" |
270 | HAVE_PRIVATE_HOME="" | 278 | HAVE_PRIVATE_HOME="" |
279 | HAVE_PRIVATE_LIB="" | ||
271 | HAVE_CHROOT="" | 280 | HAVE_CHROOT="" |
272 | HAVE_GLOBALCFG="" | 281 | HAVE_GLOBALCFG="" |
273 | HAVE_USERNS="" | 282 | HAVE_USERNS="" |
@@ -324,6 +333,7 @@ Features: | |||
324 | network: $HAVE_NETWORK | 333 | network: $HAVE_NETWORK |
325 | overlayfs support: $HAVE_OVERLAYFS | 334 | overlayfs support: $HAVE_OVERLAYFS |
326 | private home support: $HAVE_PRIVATE_HOME | 335 | private home support: $HAVE_PRIVATE_HOME |
336 | private lib support: $HAVE_PRIVATE_LIB | ||
327 | SELinux labeling support: $HAVE_SELINUX | 337 | SELinux labeling support: $HAVE_SELINUX |
328 | user namespace: $HAVE_USERNS | 338 | user namespace: $HAVE_USERNS |
329 | X11 sandboxing support: $HAVE_X11 | 339 | X11 sandboxing support: $HAVE_X11 |