diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | defines.h | 4 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20000530 | ||
2 | - Define atexit for old Solaris | ||
3 | |||
1 | 20000520 | 4 | 20000520 |
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 | |||
135 | AC_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) | 135 | AC_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. |
138 | AC_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) | 138 | AC_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 | ||
140 | AC_CHECK_FUNC(login, | 140 | AC_CHECK_FUNC(login, |
141 | [AC_DEFINE(HAVE_LOGIN)], | 141 | [AC_DEFINE(HAVE_LOGIN)], |
@@ -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 */ |