configure: line 51: $'\r': command not found

compn <[email protected]> Wed, 18 Feb 2009 12:25:54 -0500
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
Administrator@beagh /cygdrive/e/mplayer-testclips/mplayer
$ sh configure
configure: line 51: $'\r': command not found
configure: line 54: $'\r': command not found
configure: line 57: $'\r': command not found
configure: line 60: syntax error near unexpected token `$'{\r''
'onfigure: line 60: `compile_check() {

if you get this error, it means that your files have DOS line breaks
instead of UNIX linebreaks...

you need to convert all of your files to unix linebreaks, vlc has a
script to do this i think.

-compn