delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/30/11:00:35

Date: Wed, 30 Jun 1999 16:59:49 +0200
From: Teun Burgers <burgers AT ecn DOT nl>
Subject: Re: [ANNOUNCE] DJGPP port of GNU Autoconf 2.13 update 2
Sender: burgers AT ecn DOT nl
To: djgpp AT delorie DOT com
Message-id: <377A30E5.572A83A7@ecn.nl>
Organization: Netherlands Energy Research Foundation ECN
X-Envelope-to: djgpp AT delorie DOT com
MIME-version: 1.0
X-Mailer: Mozilla 4.5 [en] (X11; I; OSF1 V4.0 alpha)
X-Accept-Language: nl
References: <199906251508 DOT LAA03749 AT delorie DOT com>
Reply-To: djgpp AT delorie DOT com

"Mark E." wrote:

> BTW, if you have any suggestions on how to making the official
> Autoconf handle both DOS and Unix path separators, send then to
> autoconf AT gnu DOT org.

Your patch to acgeneral.m4 looks something like this:

ac_test_flag="-f"
if ! test -z "$COMSPEC$ComSpec"; then
  ac_test_flag="-x"
  IFS="${PATH_SEPARATOR-;}"
fi

On cygwin $COMSPEC is also defined. With this patch,
IFS is set to ; on cygwin causing the search for
programs to fail there. If : is going to
be the default for bash 2.03 (Thread Bash 2.03 beta update)
would it perhaps be better to leave IFS to : as follows?

ac_test_flag="-f"
if ! test -z "$COMSPEC$ComSpec"; then
  ac_test_flag="-x"
fi

The test -x works also for cygwin

Teun

-- 
Drs A.R. Burgers        Netherlands Energy Research Foundation ECN
Phone: +31-224-564703   Solar & Wind Energy, PV Cells & Modules
Fax  : +31-224-563214   P.O. Box 1
email: burgers AT ecn DOT nl   1755 ZG Petten, The Netherlands

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019