Commit 14c5a4ea authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Search for xauth.

Rev: ChangeLog:1.544
parent d574744b
2002-09-03 Pontus Skld <>
* Search for xauth.
2002-09-02 Pontus Skld <>
* src/testsuite/lsh-8-test: New test. Check whatever unencrypted
......@@ -415,6 +415,18 @@ AC_CHECK_HEADERS(X11/Xauth.h)
AC_CHECK_LIB(Xau, XauGetAuthByAddr)
AC_ARG_VAR(XAUTH_PROGRAM, Program used to handle .Xauthority-files by lshd)
if test -z "$XAUTH_PROGRAM"; then
AC_PATH_PROG(XAUTH_PROGRAM, xauth,, /usr/X11R6/bin:/usr/openwin/bin:/usr/X/bin:/usr/X11/bin:/usr/bin:/usr/bin/X:/usr/bin/X11)
if test -z "$XAUTH_PROGRAM"; then
AC_MSG_WARN(Couldn't find xauth, try passing XAUTH_PROGRAM=/path/to/xauth to configure)
AC_DEFINE_UNQUOTED(XAUTH_PROGRAM, "$XAUTH_PROGRAM", Program used by lshd to handle .Xauthority-files)
AC_CHECK_LIB(crypt, crypt)
AC_CHECK_LIB(xnet, inet_addr)
AC_CHECK_LIB(nsl, gethostbyname)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment