mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
--git-install: default disabled in ./configure script
This commit is contained in:
parent
d17ce1322e
commit
6730f4c0cc
5 changed files with 16 additions and 8 deletions
|
|
@ -17,6 +17,7 @@ AS_IF([test "x$enable_apparmor" = "xyes"], [
|
|||
AC_SUBST(HAVE_APPARMOR)
|
||||
])
|
||||
|
||||
|
||||
AS_IF([test "x$enable_apparmor" = "xyes"], [
|
||||
AC_CHECK_HEADER(sys/apparmor.h, , [AC_MSG_ERROR(
|
||||
[Couldn't find sys/apparmor.h... please install apparmor user space library and development files] )])
|
||||
|
|
@ -145,15 +146,15 @@ AS_IF([test "x$enable_gcov" = "xyes"], [
|
|||
AC_SUBST(HAVE_GCOV)
|
||||
])
|
||||
|
||||
|
||||
HAVE_GIT_INSTALL=""
|
||||
AC_ARG_ENABLE([git-install],
|
||||
AS_HELP_STRING([--disable-git-install], [disable git install feature]))
|
||||
AS_IF([test "x$enable_git_install" != "xno"], [
|
||||
AS_HELP_STRING([--enable-git-install], [enable git install feature]))
|
||||
AS_IF([test "x$enable_git_install" = "xyes"], [
|
||||
HAVE_GIT_INSTALL="-DHAVE_GIT_INSTALL"
|
||||
AC_SUBST(HAVE_GIT_INSTALL)
|
||||
])
|
||||
|
||||
|
||||
# checking pthread library
|
||||
AC_CHECK_LIB([pthread], [main], [], AC_MSG_ERROR([*** POSIX thread support not installed ***]))
|
||||
AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([*** POSIX thread support not installed ***]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue