[MPlayer-dev-eng] Re: [PATCH] fix configure script for non-bash shells

Greg Stark gsstark at mit.edu
Tue May 20 15:32:13 CEST 2003


Arpi <arpi at thot.banki.hu> writes:

> > this patch fixes configure for the /bin/sh from Solaris 7 and possibly
> > others.

$(command) is POSIX.

No others unless you dig out really old systems. The /bin/sh on Solaris is a
non-POSIX traditional sysv korn shell because Sun has their head up their rear
ends about backwards compatibility for legacy systems.

Try /usr/xpg4/bin/sh instead and it should work. That's Sun's clever place to
hide the POSIX compliant shell.

> >      if darwin ; then.
> > -	if [[ $(sysctl -n hw.vectorunit) == 1 ]]; then.
> > +	if [[ `sysctl -n hw.vectorunit` == 1 ]]; then.
> >  	    _altivec=yes.
> >   	fi.

-- 
greg



More information about the MPlayer-dev-eng mailing list