Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
f034fe8c
Commit
f034fe8c
authored
Jan 05, 2007
by
Niels Möller
Browse files
Disable utmp support if pututline is not available.
Rev: configure.ac:1.73
parent
b7958010
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
f034fe8c
...
...
@@ -167,11 +167,6 @@ AC_ARG_ENABLE(utmp,
AC_HELP_STRING([--disable-utmp], [Disable utmp and wtmp support]),,
[enable_utmp=yes])
AH_TEMPLATE([WITH_UTMP], [For utmp support])
if test x$enable_utmp = xyes ; then
AC_DEFINE(WITH_UTMP)
fi
AC_ARG_WITH(include-path,
AC_HELP_STRING([--with-include-path], [A colon-separated list of directories to search for include files]),,
[with_include_path=''])
...
...
@@ -271,6 +266,11 @@ dnl AC_CHECK_MEMBERS, but we can check for sub members. Leave the
dnl ut_tv check for clarity.
if test x$have_utmp_h = xyes; then
# Currently, no support for pure bsd systems where login(3) and
# friends are the only library functions for updating the utmp and
# wtmp data. FIXME: Don't do this if we're going to use the the utmpx
# functions instead.
AC_CHECK_FUNC([pututline],,[enable_utmp=no])
AC_CHECK_MEMBERS([struct utmp.ut_host,
struct utmp.ut_name,
struct utmp.ut_user,
...
...
@@ -319,6 +319,11 @@ if test x$have_utmpx_h = xyes; then
])
fi
AH_TEMPLATE([WITH_UTMP], [For utmp support])
if test x$enable_utmp = xyes ; then
AC_DEFINE(WITH_UTMP)
fi
AH_TEMPLATE([WITH_GSS_K5], [Whether to use gss K5 authorization (Heimdal/MIT)])
if test x$enable_gss != xno; then
if test x$enable_gss = xk5; then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment