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

Search for xauth.

Rev: ChangeLog:1.544
Rev: configure.ac:1.15
parent d574744b
2002-09-03 Pontus Skld <pont@soua.net>
* configure.ac: Search for xauth.
2002-09-02 Pontus Skld <pont@soua.net>
* 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)
LSH_RPATH_FIX
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)
fi
if test -z "$XAUTH_PROGRAM"; then
AC_MSG_WARN(Couldn't find xauth, try passing XAUTH_PROGRAM=/path/to/xauth to configure)
else
AC_DEFINE_UNQUOTED(XAUTH_PROGRAM, "$XAUTH_PROGRAM", Program used by lshd to handle .Xauthority-files)
fi
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