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.
Error:
./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$
From this 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])
Is there another way to define SVN version or call it from the bash file?