Make issue in menuselect/configure on Cygwin


I try to start a make clean of asterisk 1.4.18 on latest cygwin and I get a make error in menuselect/configure :

[quote]./configure: line 15: $’\r’: command not found
./configure: line 23: syntax error near unexpected token elif' ./configure: line 23:elif test -n “${BASH_VERSION+set}” && (set -o posix) >/de
’/null 2>&1; then
rm -f menuselect gmenuselect menuselect.o strcompat.o menuselect_stub.o menusele

My linux knowledge is poor, so do I need to use another shell type or do I need another package (or …) ?

Thanks for your help.

The problems came from Unix text file end of line decoding !

You must use Unix dos conversion mode in Cygwin instead of Unix mode (done during cygwin instal).