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 513826 - configure script has no option to override cups check
configure script has no option to override cups check
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 512981 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-02-02 03:20 UTC by Alberto Ruiz
Modified: 2008-03-05 16:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Proposed patch. (1.67 KB, patch)
2008-02-02 03:32 UTC, Alberto Ruiz
none Details | Review
Add --disable-cups configure option (3.07 KB, patch)
2008-03-05 14:23 UTC, Alberto Ruiz
none Details | Review

Description Alberto Ruiz 2008-02-02 03:20:24 UTC
Please describe the problem:
When cross-compiling gtk+ from linux to other platform, cups-config is found, but the headers can't be used to build anything since we're targetting to another platform. And we get this critical error:

checking for cups-config... /usr/bin/cups-config
checking cups/cups.h usability... no
checking cups/cups.h presence... no
checking for cups/cups.h... no
configure: error: *** Sorry, cups-config present but cups/cups.h missing.


There's no way to override this behaviour, while disabling the feature with a warning should be enough.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Alberto Ruiz 2008-02-02 03:32:28 UTC
Created attachment 104241 [details] [review]
Proposed patch.
Comment 2 Cody Russell 2008-02-02 07:43:30 UTC
*** Bug 512981 has been marked as a duplicate of this bug. ***
Comment 3 Johan (not receiving bugmail) Dahlin 2008-03-02 18:03:48 UTC
I would prefer having a --without-cups flag. Can that be arranged?
Comment 4 Alberto Ruiz 2008-03-02 21:46:47 UTC
It's probably a better idea indeed.
Comment 5 Alberto Ruiz 2008-03-05 14:23:36 UTC
Created attachment 106619 [details] [review]
Add --disable-cups configure option
Comment 6 Johan (not receiving bugmail) Dahlin 2008-03-05 16:43:11 UTC
2008-03-05  Johan Dahlin  <johan@gnome.org>

	* configure.in: Add --disable-cups option.
	(#513826, Alberto Ruiz)