Subject: Re: Possible bug
From: Brian Dessent <[email-masked]>
To: [email-masked]
Date: Tue, 08 Feb 2005 02:51:29 -0800

Vijay Kiran Kamuju wrote:

> code in tvtime boot strap thats failing
> -----------------------------------------------------
> test -x "$AUTOHEADER" ||
>   AUTOHEADER="autoheader`echo "$AUTOCONF" | sed 's/.*autoconf//'`" &&
>     AUTOHEADER=`type -p "$AUTOHEADER"` ||
>       {
>         echo `basename $0`: GNU Autoconf installed improperly 1>&2 &&
>           exit 2;
>       }
> 
> in tvtime bootstrap under cygwin im geting the message
> 
> GNU Autoconf installed improperly
> 
> but not in fedora

That's a fault of the tvtime configure script then it seems.  Under
linux, sh is bash, but not under Cygwin (and many other nixes) where sh
is the standard bourne shell.  "type -p" is a bashism, you can't use it
in a sh script.  "sh" does not support any flags for the "type" builtin.

Brian

--
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/