$ ./configure
: not found: 18: ./configure:
./configure: 34: ./configure: Syntax error: newline unexpected (expecting ")")
What took me a while to figure was that this was one of the oldest of issues between Mac/Linux and Windows OS.
Line-endings!
Running something as simple as the following, at the root of the source directory got the ball rolling:
find . -type f -print0 | xargs -0 dos2unix
Enjoy Linux on Windows :) !