GNOME Bugzilla – Bug 653161
wininet.h checking during configure
Last modified: 2011-06-26 01:17:55 UTC
cross compile for windows with mingw this warning happened during configure: ============================================== checking for windows.h... yes checking wininet.h usability... no checking wininet.h presence... yes configure: WARNING: wininet.h: present but cannot be compiled configure: WARNING: wininet.h: check for missing prerequisite headers? configure: WARNING: wininet.h: see the Autoconf documentation configure: WARNING: wininet.h: section "Present But Cannot Be Compiled" configure: WARNING: wininet.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------------------------------------------ ## configure: WARNING: ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## configure: WARNING: ## ------------------------------------------------------------------------ ## checking for wininet.h... no configure: *** These plugins will not be built: wininet ==============================================
Could you attach config.log? Are you using standard packages, i.e., mingw cross compilier in fedora or ubuntu?
Created attachment 190671 [details] [review] Fix configure check I can reproduce it with mingw-w64 in Cygwin. The attached patch fixes it for me, I copied it from the acm check.
yes it's mingw-w64 on fedora (actually on rhel-6 but the same setup and sprc files). it's be nice to apply before the next bad release (together with #652035).
Oooh, patch even better. commit f0224088c7c72c0ed2bb856c1b6cb0968e7d08cf Author: Raimo Järvi <raimo.jarvi@gmail.com> Date: Sat Jun 25 23:55:28 2011 +0300 wininet: Fix configure check by including windows.h Fixes bug #653161.