autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check XMKMF variable, export CC for xmkmf


From: Pavel Roskin
Subject: Re: Check XMKMF variable, export CC for xmkmf
Date: Wed, 31 Aug 2005 12:35:11 -0400

On Fri, 2005-08-26 at 12:42 -0700, Paul Eggert wrote:
> Pavel Roskin <address@hidden> 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}
address@hidden XMKMF
 @cindex X Window System
 Try to locate the X Window System include files and libraries.  If the
 user gave the command line options @address@hidden and
address@hidden@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
address@hidden to their locations, unless they are in directories
-the compiler searches by default.
address@hidden@var{dir}}, use those directories.
+
+If either or both were not given, get the missing values by running
address@hidden (or an executable pointed to by the @code{XMKMF}
+environment variable) on a trivial @file{Imakefile} and examining the
address@hidden 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
address@hidden 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};


-- 
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]