I wished to compile the latest git revision of Wget on Windows in order to
run some tests.
However, I have failed miserably in my attempts to understand how to
compile Wget on Windows.

I set up a virtual system with MingW installed (I do not wish to create a
CygWin executable if possible.)
Alongwith MingW, I installed Perl and Visual Studio Express 2008.

Similar to how one would proceed on a UNIX system, I ran:
$ ./bootstrap --gnulib-srcdir=../gnulib
in the MingW shell.

This command however fails with the following error:
configure.ac:1: error: possibly undefined macro: dnl
         If this token and others are legitimate, please use
m4_pattern_allow.
         See the Autoconf documentation.
configure.ac:41: error: possibly undefined macro: AC_MSG_NOTICE
configure.ac:74: error: possibly undefined macro: AC_DEFINE
configure.ac:253: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:283: error: possibly undefined macro: AC_MSG_ERROR
autoreconf-2.68: /mingw/bin/autoconf-2.68 failed with exit status: 1

How am I supposed to solve this?

-- 
Thanking You,
Darshit Shah

Reply via email to