summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.in2
-rw-r--r--defines.h4
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 02c477133..a79bb19c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120000530
2 - Define atexit for old Solaris
3
120000520 420000520
2 - Xauth fix from Markus Friedl <markus.friedl@informatik.uni-erlangen.de> 5 - Xauth fix from Markus Friedl <markus.friedl@informatik.uni-erlangen.de>
3 - Don't touch utmp if USE_UTMPX defined 6 - Don't touch utmp if USE_UTMPX defined
diff --git a/configure.in b/configure.in
index a8b9794fd..3c6694dba 100644
--- a/configure.in
+++ b/configure.in
@@ -135,7 +135,7 @@ fi
135AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h util.h utmp.h utmpx.h) 135AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h util.h utmp.h utmpx.h)
136 136
137# Checks for library functions. 137# Checks for library functions.
138AC_CHECK_FUNCS(arc4random b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage innetgr md5_crypt memmove mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf vhangup _getpty __b64_ntop) 138AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage innetgr md5_crypt memmove mkdtemp on_exit openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf vhangup _getpty __b64_ntop)
139 139
140AC_CHECK_FUNC(login, 140AC_CHECK_FUNC(login,
141 [AC_DEFINE(HAVE_LOGIN)], 141 [AC_DEFINE(HAVE_LOGIN)],
diff --git a/defines.h b/defines.h
index 5eddf2e10..ef9130982 100644
--- a/defines.h
+++ b/defines.h
@@ -293,4 +293,8 @@ typedef int ssize_t;
293# define memmove(s1, s2, n) bcopy((s2), (s1), (n)) 293# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
294#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */ 294#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */
295 295
296#if !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT)
297# define atexit(a) on_exit(a)
298#endif /* !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT) */
299
296#endif /* _DEFINES_H */ 300#endif /* _DEFINES_H */