title: I was trying to run ./configure file with MSYS but I get Syntax Error near unexpected token?
body: <p>When I try to run ./configure.ac file with MSYS .sh from the command line with mingw64 compiler, I get the following Error from the ./configure file.</p>
  
  <p>Error:</p>
  
  <pre><code>./configure.ac: line 11: syntax error near unexpected token `[svnversion],'
  ./configure.ac: line 11: `define([svnversion], esyscmd([sh -c "C:\trunk\bin\run_svnversion_if_it_exists.bash|tr -d '\n'"]))dnl'
  sh-4.3$
  </code></pre>
  
  <p>From this Code:</p>
  
  <pre><code>define([svnversion], esyscmd([sh -c "C:\trunk\bin\run_svnversion_if_it_exists.bash|tr -d '\n'"]))dnl
  AC_INIT([oomph-lib],[1.0.svnversion],[***@contact])
  </code></pre>
  
  <p>Is there another way to define SVN version or call it from the bash file?</p>