Hum... so it seems a problem related to my environment. :-/ I'm going to check again it tonight.
I'm configuring MHD in my project with AX_SUBDIRS_CONFIGURE ...:
AM_COND_IF([WINDOWS], [LDFLAGS="-static -lrpcrt4"], [CFLAGS=""]) # I've declared 'CFLAGS=""' just because when I build my project removing it I've got a crash in my app initialization and I can't understand why :-(
... because I want to distribute only one DLL file, without any extra DLL files (libgcc_s_dw2-1.dll, libwinpthread-1.dll, libmicrohttpd-12.dll etc.). Do you think I can use AX_SUBDIRS_CONFIGURE() to configure MHD? I'm not sure it is runs the MHD's bootstrap or call something like autoreconf.