Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 25 Jan 2005 21:48:44 +0200 From: "Eli Zaretskii" To: Stepan Kasal Message-ID: <01c50317$Blat.v2.4$05db0ca0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: karl AT freefriends DOT org, dave AT boost-consulting DOT com, bug-texinfo AT gnu DOT org, akim AT epita DOT fr, ebb9 AT byu DOT net, cygwin AT cygwin DOT com In-reply-to: <20050125105524.GF14495@matsrv.math.cas.cz> (message from Stepan Kasal on Tue, 25 Jan 2005 11:55:24 +0100) Subject: Re: Fw: bug in texi2dvi, and hack patch Reply-to: Eli Zaretskii References: <41EE544A DOT 2000306 AT byu DOT net> <200501240115 DOT j0O1FWh15382 AT f7 DOT net> <20050124083421 DOT GA2986 AT matsrv DOT math DOT cas DOT cz> <01c5024f$Blat.v2.4$31b8e540 AT zahav DOT net DOT il> <20050125105524 DOT GF14495 AT matsrv DOT math DOT cas DOT cz> > Date: Tue, 25 Jan 2005 11:55:24 +0100 > From: Stepan Kasal > Cc: karl AT freefriends DOT org, dave AT boost-consulting DOT com, bug-texinfo AT gnu DOT org, > akim AT epita DOT fr, ebb9 AT byu DOT net, cygwin AT cygwin DOT com > > > > Another way to fix the problem is to adopt the solution used by autoconf: > > > make sure that the variable $ac_executable_extensions, which is set in > > > config.site on some platforms, gets substituted: > > > > > > AC_SUBST(ac_executable_extensions) > > > > > > and put the following to texi2dvi.in: > > > > > > for dir in $PATH; do > > > for exec_ext in '' @ac_executable_extensions@; do > > > if test -f "$dir/$1" && test -x "$dir/$1"; then > > > ... > > > > I'm okay with this method, provided that ac_executable_extensions can > > be computed reliably (you didn't say how). > > AFAIK, ac_executable_extensions is not computed. It is set in config.site > which is included by configure at the beginning of its run. Then, for Texinfo, we probably should set ac_executable_extensions in djgpp/config.site, since I don't want to rely on the system-wide config.site to set that (or even to exist) in a typical DJGPP installation. If Autoconf has a similar DJGPP-specific directory in its distro, it could set ac_executable_extensions there and point CONFIG_SITE to that file. Thanks for explaining the other method (which should also be okay, I think). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/