- (dtucker) [configure.ac] Bug #570: Have ./configure --enable-FEATURE

actually enable the feature, for those normally disabled.  Patch by
   openssh (at) roumenpetrov.info.
This commit is contained in:
Darren Tucker 2003-06-28 12:54:33 +10:00
parent b611c12e67
commit a3020db6b4
2 changed files with 45 additions and 10 deletions

View File

@ -14,6 +14,9 @@
[readconf.c] [readconf.c]
do not dump core for 'ssh -o proxycommand host'; ok deraadt@ do not dump core for 'ssh -o proxycommand host'; ok deraadt@
- (dtucker) [regress/dynamic-forward.sh] Import new regression test. - (dtucker) [regress/dynamic-forward.sh] Import new regression test.
- (dtucker) [configure.ac] Bug #570: Have ./configure --enable-FEATURE
actually enable the feature, for those normally disabled. Patch by
openssh (at) roumenpetrov.info.
20030624 20030624
- (dtucker) Have configure refer the user to config.log and - (dtucker) Have configure refer the user to config.log and
@ -600,4 +603,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2828 2003/06/28 02:42:09 dtucker Exp $ $Id: ChangeLog,v 1.2829 2003/06/28 02:54:33 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.127 2003/06/24 10:22:10 dtucker Exp $ # $Id: configure.ac,v 1.128 2003/06/28 02:54:33 dtucker Exp $
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_SRCDIR([ssh.c])
@ -2314,35 +2314,67 @@ AC_SUBST(piddir)
dnl allow user to disable some login recording features dnl allow user to disable some login recording features
AC_ARG_ENABLE(lastlog, AC_ARG_ENABLE(lastlog,
[ --disable-lastlog disable use of lastlog even if detected [no]], [ --disable-lastlog disable use of lastlog even if detected [no]],
[ AC_DEFINE(DISABLE_LASTLOG) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_LASTLOG)
fi
]
) )
AC_ARG_ENABLE(utmp, AC_ARG_ENABLE(utmp,
[ --disable-utmp disable use of utmp even if detected [no]], [ --disable-utmp disable use of utmp even if detected [no]],
[ AC_DEFINE(DISABLE_UTMP) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_UTMP)
fi
]
) )
AC_ARG_ENABLE(utmpx, AC_ARG_ENABLE(utmpx,
[ --disable-utmpx disable use of utmpx even if detected [no]], [ --disable-utmpx disable use of utmpx even if detected [no]],
[ AC_DEFINE(DISABLE_UTMPX) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_UTMPX)
fi
]
) )
AC_ARG_ENABLE(wtmp, AC_ARG_ENABLE(wtmp,
[ --disable-wtmp disable use of wtmp even if detected [no]], [ --disable-wtmp disable use of wtmp even if detected [no]],
[ AC_DEFINE(DISABLE_WTMP) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_WTMP)
fi
]
) )
AC_ARG_ENABLE(wtmpx, AC_ARG_ENABLE(wtmpx,
[ --disable-wtmpx disable use of wtmpx even if detected [no]], [ --disable-wtmpx disable use of wtmpx even if detected [no]],
[ AC_DEFINE(DISABLE_WTMPX) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_WTMPX)
fi
]
) )
AC_ARG_ENABLE(libutil, AC_ARG_ENABLE(libutil,
[ --disable-libutil disable use of libutil (login() etc.) [no]], [ --disable-libutil disable use of libutil (login() etc.) [no]],
[ AC_DEFINE(DISABLE_LOGIN) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_LOGIN)
fi
]
) )
AC_ARG_ENABLE(pututline, AC_ARG_ENABLE(pututline,
[ --disable-pututline disable use of pututline() etc. ([uw]tmp) [no]], [ --disable-pututline disable use of pututline() etc. ([uw]tmp) [no]],
[ AC_DEFINE(DISABLE_PUTUTLINE) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_PUTUTLINE)
fi
]
) )
AC_ARG_ENABLE(pututxline, AC_ARG_ENABLE(pututxline,
[ --disable-pututxline disable use of pututxline() etc. ([uw]tmpx) [no]], [ --disable-pututxline disable use of pututxline() etc. ([uw]tmpx) [no]],
[ AC_DEFINE(DISABLE_PUTUTXLINE) ] [
if test "x$enableval" = "xno" ; then
AC_DEFINE(DISABLE_PUTUTXLINE)
fi
]
) )
AC_ARG_WITH(lastlog, AC_ARG_WITH(lastlog,
[ --with-lastlog=FILE|DIR specify lastlog location [common locations]], [ --with-lastlog=FILE|DIR specify lastlog location [common locations]],