fix problem sh. Replace with bash in configure script. For msys, there is a bash version to download.
To compile for win32 with peak hardware:
./configure --can=peak_win32
--- a/configure Thu Sep 13 09:02:56 2007 +0200
+++ b/configure Tue Sep 18 09:02:38 2007 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright (C) 2004 Edouard TISSERRANT, Laurent BESSARD