How can I make a configure script using autoconf on MSYS/MINGW?

  autoconf, c++, configure, mingw, msys

I’m trying to use IT++ library in Windows 10. To this end, I need to make a "configure" script from "" file which provided in IT++ library using autoconf on MSYS.
I encountered these errors:

[email protected] /c/itpp-4.3.1
$ autoconf
/c/MinGW/bin/autoconf-2.68: line 501: /mingw/bin/autom4te-2.68: No such file or directory
/c/MinGW/bin/autoconf-2.68: line 501: exec: /mingw/bin/autom4te-2.68: cannot execute: No such file or directory

Source: Windows Questions C++