After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 653161 - wininet.h checking during configure
wininet.h checking during configure
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-22 12:21 UTC by Levente Farkas
Modified: 2011-06-26 01:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix configure check (890 bytes, patch)
2011-06-25 21:07 UTC, Raimo Järvi
none Details | Review

Description Levente Farkas 2011-06-22 12:21:13 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
==============================================
Comment 1 David Schleef 2011-06-25 20:48:30 UTC
Could you attach config.log?  Are you using standard packages, i.e., mingw cross compilier in fedora or ubuntu?
Comment 2 Raimo Järvi 2011-06-25 21:07:51 UTC
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.
Comment 3 Levente Farkas 2011-06-25 22:12:05 UTC
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).
Comment 4 David Schleef 2011-06-26 01:17:55 UTC
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.