mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 15:25:58 +00:00
Allow the user to specify and alternate libtool
This commit is contained in:
9
INSTALL
9
INSTALL
@@ -584,6 +584,15 @@ The following options are also configurable at runtime:
|
|||||||
specified, I/O logs will be stored in the indicated directory
|
specified, I/O logs will be stored in the indicated directory
|
||||||
instead.
|
instead.
|
||||||
|
|
||||||
|
--with-libtool=PATH
|
||||||
|
By default, sudo will use the included version of libtool
|
||||||
|
to build shared libraries. The --with-libtool option can
|
||||||
|
be used to specify a different version of libtool to use.
|
||||||
|
The special values "system" and "builtin" can be used in
|
||||||
|
place of a path to denote the default system libtool (obtained
|
||||||
|
via the user's PATH) and the default libtool that comes
|
||||||
|
with sudo.
|
||||||
|
|
||||||
--disable-authentication
|
--disable-authentication
|
||||||
By default, sudo requires the user to authenticate via a
|
By default, sudo requires the user to authenticate via a
|
||||||
password or similar means. This options causes sudo to
|
password or similar means. This options causes sudo to
|
||||||
|
17
configure
vendored
17
configure
vendored
@@ -907,6 +907,7 @@ enable_fast_install
|
|||||||
with_gnu_ld
|
with_gnu_ld
|
||||||
with_sysroot
|
with_sysroot
|
||||||
enable_libtool_lock
|
enable_libtool_lock
|
||||||
|
with_libtool
|
||||||
with_noexec
|
with_noexec
|
||||||
with_netsvc
|
with_netsvc
|
||||||
enable_sia
|
enable_sia
|
||||||
@@ -1673,6 +1674,7 @@ Optional Packages:
|
|||||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||||
--with-sysroot=DIR Search for dependent libraries within DIR
|
--with-sysroot=DIR Search for dependent libraries within DIR
|
||||||
(or the compiler's sysroot if not specified).
|
(or the compiler's sysroot if not specified).
|
||||||
|
--with-libtool=PATH specify path to libtool
|
||||||
--with-noexec=PATH fully qualified pathname of sudo_noexec.so
|
--with-noexec=PATH fully qualified pathname of sudo_noexec.so
|
||||||
--with-netsvc[=PATH] path to netsvc.conf
|
--with-netsvc[=PATH] path to netsvc.conf
|
||||||
--with-pam-login enable specific PAM session for sudo -i
|
--with-pam-login enable specific PAM session for sudo -i
|
||||||
@@ -13612,6 +13614,21 @@ CC="$lt_save_CC"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --with-libtool was given.
|
||||||
|
if test "${with_libtool+set}" = set; then :
|
||||||
|
withval=$with_libtool; case $with_libtool in
|
||||||
|
yes|builtin) ;;
|
||||||
|
no) as_fn_error $? "\"--without-libtool not supported.\"" "$LINENO" 5
|
||||||
|
;;
|
||||||
|
system) LIBTOOL=libtool
|
||||||
|
;;
|
||||||
|
*) LIBTOOL="$with_libtool"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if test "$enable_shared" = "no"; then
|
if test "$enable_shared" = "no"; then
|
||||||
with_noexec=no
|
with_noexec=no
|
||||||
enable_dlopen=no
|
enable_dlopen=no
|
||||||
|
15
configure.in
15
configure.in
@@ -1435,6 +1435,21 @@ AC_CONFIG_MACRO_DIR([m4])
|
|||||||
LT_PREREQ([2.2.6b])
|
LT_PREREQ([2.2.6b])
|
||||||
LT_INIT([dlopen])
|
LT_INIT([dlopen])
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Allow the user to specify an alternate libtool.
|
||||||
|
dnl XXX - should be able to skip LT_INIT if we are using a different libtool
|
||||||
|
dnl
|
||||||
|
AC_ARG_WITH(libtool, [AS_HELP_STRING([--with-libtool=PATH], [specify path to libtool])],
|
||||||
|
[case $with_libtool in
|
||||||
|
yes|builtin) ;;
|
||||||
|
no) AC_MSG_ERROR(["--without-libtool not supported."])
|
||||||
|
;;
|
||||||
|
system) LIBTOOL=libtool
|
||||||
|
;;
|
||||||
|
*) LIBTOOL="$with_libtool"
|
||||||
|
;;
|
||||||
|
esac])
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Defer with_noexec until after libtool magic runs
|
dnl Defer with_noexec until after libtool magic runs
|
||||||
dnl
|
dnl
|
||||||
|
Reference in New Issue
Block a user