Mercurial > dropbear
comparison loginrec.h @ 865:39d872718d4b
Try and fix utmp handling
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 25 Nov 2013 23:30:01 +0800 |
parents | 82fcf3185616 |
children | 939944f0fca9 |
comparison
equal
deleted
inserted
replaced
864:30ab30e46452 | 865:39d872718d4b |
---|---|
71 # define USE_LOGIN | 71 # define USE_LOGIN |
72 | 72 |
73 #else | 73 #else |
74 /* Simply select your favourite login types. */ | 74 /* Simply select your favourite login types. */ |
75 /* Can't do if-else because some systems use several... <sigh> */ | 75 /* Can't do if-else because some systems use several... <sigh> */ |
76 # if defined(UTMPX_FILE) && !defined(DISABLE_UTMPX) | 76 # if defined(HAVE_UTMPX_H) && defined(UTMPX_FILE) && !defined(DISABLE_UTMPX) |
77 # define USE_UTMPX | 77 # define USE_UTMPX |
78 # endif | 78 # endif |
79 # if defined(UTMP_FILE) && !defined(DISABLE_UTMP) | 79 # if defined(HAVE_UTMP_H) && defined(UTMP_FILE) && !defined(DISABLE_UTMP) |
80 # define USE_UTMP | 80 # define USE_UTMP |
81 # endif | 81 # endif |
82 # if defined(WTMPX_FILE) && !defined(DISABLE_WTMPX) | 82 # if defined(HAVE_WTMPX_H) && defined(WTMPX_FILE) && !defined(DISABLE_WTMPX) |
83 # define USE_WTMPX | 83 # define USE_WTMPX |
84 # endif | 84 # endif |
85 # if defined(WTMP_FILE) && !defined(DISABLE_WTMP) | 85 # if defined(HAVE_WTMP_H) && defined(WTMP_FILE) && !defined(DISABLE_WTMP) |
86 # define USE_WTMP | 86 # define USE_WTMP |
87 # endif | 87 # endif |
88 | 88 |
89 #endif | 89 #endif |
90 | 90 |