Mail Archives: djgpp/1999/06/30/11:00:35
"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 -