Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
5700ed2f
Commit
5700ed2f
authored
Nov 30, 2018
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a configure switch to enable/disable examples build
parent
9f2289a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
Makefile.am
Makefile.am
+11
-4
configure.ac
configure.ac
+11
-0
No files found.
Makefile.am
View file @
5700ed2f
...
...
@@ -2,7 +2,12 @@
ACLOCAL_AMFLAGS
=
-I
m4
SUBDIRS
=
src examples misc
SUBDIRS
=
src
if
BUILD_EXAMPLES
SUBDIRS
+=
examples misc
endif
DIST_SUBDIRS
=
$(SUBDIRS)
doc
EXTRA_DIST
=
libdvbpsi.spec libdvbpsi.spec.in libdvbpsi.pc.in bootstrap
...
...
@@ -15,9 +20,6 @@ doc-dummy:
doc
:
doc-dummy
$(MAKE)
-C
doc doc
test_dr.c
:
$(MAKE)
-C
misc test_dr.c
changelog
:
cvs2cl
--utc
--hide-filenames
--no-wrap
-w
--stdout
-g
-z9
|
\
sed
-e
's/^[^0-9]/ /'
-e
's/^ *$$//'
-e
's/^ \* / /g'
|
\
...
...
@@ -30,5 +32,10 @@ dist-checksum: $(DIST_ARCHIVES)
sha256sum
$$
sum
>
$$
sum.sha256
;
\
done
if
BUILD_EXAMPLES
test_dr.c
:
$(MAKE)
-C
misc test_dr.c
generate-header_dr
:
misc/gen_dr_h.sh
>
src/descriptors/dr.h
endif
configure.ac
View file @
5700ed2f
...
...
@@ -145,6 +145,16 @@ if test "${ac_cv_asprintf}" != "no"; then
AC_DEFINE(HAVE_ASPRINTF, 1, [Support for asprintf() and vasprintf()])
fi
# dnl Whether or not build examples
AC_ARG_ENABLE([examples],
[AS_HELP_STRING([--enable-examples],
[build examples (default is yes)])],
[build_examples=$enableval],
[build_examples=yes])
dnl use examples
AM_CONDITIONAL([BUILD_EXAMPLES], [ test $build_examples = "yes" ])
dnl
dnl Generate Makefiles and other output files
dnl
...
...
@@ -166,4 +176,5 @@ release : ${release}
compatibility old api : ${compat}
compile flags : ${CFLAGS}
build for : ${SYS}
build examples : ${build_examples}
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment