I installed your documentation update, with this ChangeLog entry:
2006-04-02 Pavel Roskin <[EMAIL PROTECTED]>
* doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
On Wed, Aug 31, 2005 at 12:35:11PM -0400, Pavel Roskin wrote:
> On Fri, 2005-08-26 at 12:42 -0700, Paul Eggert wrote:
> > Pavel Roskin <[EMAIL PROTECTED]> writes:
> >
> > > * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
> > > XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
> > > running xmkmf.
> >
> > Thanks; I installed that. Perhaps it needs a change to the
> > documentation too?
>
> OK, here it is.
>
> --- doc/autoconf.texi
> +++ doc/autoconf.texi
> @@ -6436,17 +6436,23 @@
>
> @defmac AC_PATH_X
> @acindex{PATH_X}
> [EMAIL PROTECTED] XMKMF
> @cindex X Window System
> Try to locate the X Window System include files and libraries. If the
> user gave the command line options @[EMAIL PROTECTED] and
> [EMAIL PROTECTED]@var{dir}}, use those directories. If either or
> -both were not given, get the missing values by running @code{xmkmf} on a
> -trivial @file{Imakefile} and examining the @file{Makefile} that it
> -produces. If that fails (such as if @code{xmkmf} is not present), look
> -for the files in several directories where they often reside. If either
> -method is successful, set the shell variables @code{x_includes} and
> [EMAIL PROTECTED] to their locations, unless they are in directories
> -the compiler searches by default.
> [EMAIL PROTECTED]@var{dir}}, use those directories.
> +
> +If either or both were not given, get the missing values by running
> [EMAIL PROTECTED] (or an executable pointed to by the @code{XMKMF}
> +environment variable) on a trivial @file{Imakefile} and examining the
> [EMAIL PROTECTED] that it produces. Setting @code{XMKMF} to @samp{false}
> +will disable this method.
> +
> +If this method fails to find the X Window System, @command{configure}
> +will look for the files in several directories where they often reside.
> +If either method is successful, set the shell variables
> [EMAIL PROTECTED] and @code{x_libraries} to their locations, unless they
> +are in directories the compiler searches by default.
>
> If both methods fail, or the user gave the command line option
> @option{--without-x}, set the shell variable @code{no_x} to @samp{yes};