Bugzilla – Attachment 306 Details for
Bug 570
configure --disable-FEATURE fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
openssh-20030516-cfg.diff (text/plain), 2.95 KB, created by
Roumen Petrov
on 2003-05-20 00:24:16 AEST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Roumen Petrov
Created:
2003-05-20 00:24:16 AEST
Size:
2.95 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /cvs/openssh/configure.ac,v >retrieving revision 1.121 >diff -u -r1.121 configure.ac >--- configure.ac 15 May 2003 11:42:59 -0000 1.121 >+++ configure.ac 16 May 2003 13:54:40 -0000 >@@ -2324,35 +2324,69 @@ > dnl allow user to disable some login recording features > AC_ARG_ENABLE(lastlog, > [ --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, > [ --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, > [ --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, > [ --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, > [ --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, > [ --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, > [ --disable-pututline disable use of pututline() etc. ([uw]tmp) [no]], >- [ AC_DEFINE(DISABLE_PUTUTLINE) ] >+ [ >+ if test "x$enableval" = "xno" ; then >+ AC_DEFINE_UNQUOTED(DISABLE_PUTUTLINE, 1, >+ [Define if you don't want to use pututline() etc. to write [uw]tmp]) >+ fi >+ ] > ) > AC_ARG_ENABLE(pututxline, > [ --disable-pututxline disable use of pututxline() etc. ([uw]tmpx) [no]], >- [ AC_DEFINE(DISABLE_PUTUTXLINE) ] >+ [ >+ if test "x$enableval" = "xno" ; then >+ AC_DEFINE_UNQUOTED(DISABLE_PUTUTXLINE, 1, >+ [Define if you don't want to use pututxline() etc. to write [uw]tmpx]) >+ fi >+ ] > ) > AC_ARG_WITH(lastlog, > [ --with-lastlog=FILE|DIR specify lastlog location [common locations]], >Index: acconfig.h >=================================================================== >RCS file: /cvs/openssh/acconfig.h,v >retrieving revision 1.153 >diff -u -r1.153 acconfig.h >--- acconfig.h 15 May 2003 02:27:08 -0000 1.153 >+++ acconfig.h 16 May 2003 13:54:40 -0000 >@@ -141,12 +141,6 @@ > /* Define if you don't want to use your system's login() call */ > #undef DISABLE_LOGIN > >-/* Define if you don't want to use pututline() etc. to write [uw]tmp */ >-#undef DISABLE_PUTUTLINE >- >-/* Define if you don't want to use pututxline() etc. to write [uw]tmpx */ >-#undef DISABLE_PUTUTXLINE >- > /* Define if you don't want to use lastlog */ > #undef DISABLE_LASTLOG >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 570
: 306