- Check for getpagesize in libucb.a if not found in libc. Fix for old
Solaris from Andre Lucas <andre.lucas@dial.pipex.com>
This commit is contained in:
parent
fac99cd12a
commit
9fb07e4b8b
|
@ -1,6 +1,8 @@
|
||||||
20000305
|
20000305
|
||||||
- Fix DEC compile fix
|
- Fix DEC compile fix
|
||||||
- Explicitly seed OpenSSL's PRNG before checking rsa_alive()
|
- Explicitly seed OpenSSL's PRNG before checking rsa_alive()
|
||||||
|
- Check for getpagesize in libucb.a if not found in libc. Fix for old
|
||||||
|
Solaris from Andre Lucas <andre.lucas@dial.pipex.com>
|
||||||
|
|
||||||
20000303
|
20000303
|
||||||
- Added "make host-key" target, Suggestion from Dominik Brettnacher
|
- Added "make host-key" target, Suggestion from Dominik Brettnacher
|
||||||
|
|
|
@ -92,6 +92,9 @@
|
||||||
/* Define if your libraries define daemon() */
|
/* Define if your libraries define daemon() */
|
||||||
#undef HAVE_DAEMON
|
#undef HAVE_DAEMON
|
||||||
|
|
||||||
|
/* Define if your libraries define getpagesize() */
|
||||||
|
#undef HAVE_GETPAGESIZE
|
||||||
|
|
||||||
/* Define if xauth is found in your path */
|
/* Define if xauth is found in your path */
|
||||||
#undef XAUTH_PATH
|
#undef XAUTH_PATH
|
||||||
|
|
||||||
|
|
|
@ -62,6 +62,7 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
*-*-solaris*)
|
*-*-solaris*)
|
||||||
need_dash_r=1
|
need_dash_r=1
|
||||||
|
LDFLAGS="-L/usr/ucblib"
|
||||||
AC_DEFINE(USE_UTMPX)
|
AC_DEFINE(USE_UTMPX)
|
||||||
;;
|
;;
|
||||||
*-*-sysv*)
|
*-*-sysv*)
|
||||||
|
@ -87,7 +88,7 @@ fi
|
||||||
AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.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)
|
AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.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)
|
||||||
|
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getpagesize getnameinfo innetgr md5_crypt mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty)
|
AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getnameinfo innetgr md5_crypt mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty)
|
||||||
|
|
||||||
AC_CHECK_FUNC(login,
|
AC_CHECK_FUNC(login,
|
||||||
[AC_DEFINE(HAVE_LOGIN)],
|
[AC_DEFINE(HAVE_LOGIN)],
|
||||||
|
@ -99,6 +100,11 @@ AC_CHECK_FUNC(daemon,
|
||||||
[AC_CHECK_LIB(bsd, daemon, [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)])]
|
[AC_CHECK_LIB(bsd, daemon, [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)])]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AC_CHECK_FUNC(getpagesize,
|
||||||
|
[AC_DEFINE(HAVE_GETPAGESIZE)],
|
||||||
|
[AC_CHECK_LIB(ucb, getpagesize, [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])]
|
||||||
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(pam,
|
AC_ARG_WITH(pam,
|
||||||
[ --without-pam Disable PAM support ],
|
[ --without-pam Disable PAM support ],
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue