From: Peter Kjellerstedt Date: Wed, 14 Oct 2009 06:50:31 +0000 (+0200) Subject: build: Only run make check-exports if no public API was disabled X-Git-Tag: RELEASE-0.10.26~349 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b569d8cb42b6bbcfad261166c7b009e61587ad3;p=platform%2Fupstream%2Fgstreamer.git build: Only run make check-exports if no public API was disabled Fixes bug #598297. --- diff --git a/Makefile.am b/Makefile.am index 3d6ebb7..13ce243 100644 --- a/Makefile.am +++ b/Makefile.am @@ -140,5 +140,14 @@ check-enum-gettypes: $(top_builddir)/gst/gstenumtypes.h include $(top_srcdir)/common/coverage/lcov.mak -check: check-exports check-enum-gettypes +# Do not run the check-exports test in case any option which causes the API to +# change has been used +if !GST_DISABLE_LOADSAVE +if !GST_DISABLE_REGISTRY +if !GST_DISABLE_TRACE +CHECK_EXPORTS = check-exports +endif +endif +endif +check: $(CHECK_EXPORTS) check-enum-gettypes