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 741678 - configure: add --disable-examples switch
configure: add --disable-examples switch
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other All
: Normal enhancement
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-17 20:06 UTC by Sebastian Rasmussen
Modified: 2014-12-31 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch making it possible to disable examples. (1.10 KB, patch)
2014-12-17 20:07 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-12-17 20:06:45 UTC
The attached patch aims to make it possible to configure using --disable-examples in order to skip building the example code.
Comment 1 Sebastian Rasmussen 2014-12-17 20:07:56 UTC
Created attachment 292932 [details] [review]
Proposed patch making it possible to disable examples.
Comment 2 Tim-Philipp Müller 2014-12-18 09:38:52 UTC
Pushed, after fixing up 'make distcheck' (DIST_SUBDIRS)

 commit b6e4587afdc5291e1e6ad9e23df3282b21178b12
 Author: Sebastian Rasmussen <sebras@hotmail.com>
 Date:   Wed Dec 17 20:02:05 2014 +0100

    configure: add --disable-examples switch
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741678
Comment 3 Tim-Philipp Müller 2014-12-31 13:05:58 UTC
Missed one :)

commit e2b31dd9b4dd6ad93a3548327b9666b572f6a177
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Wed Dec 31 13:04:57 2014 +0000

    Fix 'make check' from top-level directory

diff --git a/Makefile.am b/Makefile.am
index 9624f7e..dccba6e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@ SUBDIRS =             \
        common \
        pkgconfig \
        docs \
-       $(SUBDIRS_EXAMPLES)
+       $(SUBDIRS_EXAMPLES) \
        tests