The line in question is a problem with both sh and bash.
As near as I can tell, test does not permit multiple arguments
for the -f operand.
I ran (and reported) a similar bug in the configure for ncurses.
Tested: bsd/os 2.1, 3.*, 4.*
If you must:
for i in /usr/sbin /usr/bin /usr/lib/sendmail
do
test -f $i
(use results of test)
done
Or just individual test statements.
On Mon, Apr 05, 1999 at 04:14:15PM +1000, Ben Elliston wrote:
> > which looks perfectly ok to me, runs as
> > + IFS=
> > + ac_save_ifs=
> > + IFS=
> > :
> > + test -z /bin
> > + test -f /bin/sendmail
> > [snip]
> > + test -z /usr/local/bin
> > + test -f /usr/local/bin/sendmail
> > + test -z /usr/sbin:/usr/sbin:/usr/lib
> > + test -f /usr/sbin /usr/sbin /usr/lib/sendmail
> > test: syntax error: Undefined error: 0
>
> > A bug in BSDI's sh?
>
> Did you ever come up with a solution to this problem?
>
> Ben
--
Jeffrey Haas
[EMAIL PROTECTED] "Place all beliefs in proper receptacle"