Commit 60d59c41 authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Use predefined XAUTH_PROGRAM if available or use a sensible default if not.

Rev: ChangeLog:1.545
Rev: src/server_x11.c:1.15
parent 14c5a4ea
2002-09-03 Pontus Skld <pont@soua.net>
* src/server_x11.c (XAUTH_PROGRAM): Use predefined value if
available and built in default if not.
* configure.ac: Search for xauth.
2002-09-02 Pontus Skld <pont@soua.net>
......
......@@ -407,7 +407,9 @@ bad_string(UINT32 length, const UINT8 *data)
}
/* FIXME: Use autoconf */
#define XAUTH_PROGRAM "/usr/X11R6/bin/xauth"
#ifndef XAUTH_PROGRAM
# define XAUTH_PROGRAM "/usr/X11R6/bin/xauth"
#endif
/* On success, returns 1 and sets *DISPLAY and *XAUTHORITY */
struct server_x11_info *
......
Supports Markdown
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