mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* configure.ac: Allow setting USE_EXEC_PATH to lock the exec-path to a
fixed value.
This commit is contained in:
parent
bccb780228
commit
985b36ac07
2 changed files with 16 additions and 0 deletions
11
configure.ac
11
configure.ac
|
@ -130,6 +130,17 @@ if test "$use_exec" = no ; then
|
|||
fi
|
||||
|
||||
if test "$use_exec" = yes ; then
|
||||
AC_MSG_CHECKING([for a restricted exec-path])
|
||||
AC_ARG_WITH(exec-path,
|
||||
[ --with-exec-path=PATH restrict exec-path to PATH],
|
||||
[if test "$withval" = yes ; then
|
||||
withval=no
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(USE_EXEC_PATH,"$withval",
|
||||
[restrict exec-path to this])
|
||||
fi],withval=no)
|
||||
AC_MSG_RESULT($withval)
|
||||
|
||||
AC_MSG_CHECKING([whether LDAP keyserver support is requested])
|
||||
AC_ARG_ENABLE(ldap,
|
||||
[ --disable-ldap disable LDAP keyserver interface],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue