Changeset 16c69ade84edabaf8c861f1e4f478ae815f94970
- Timestamp:
- 03/19/08 14:25:34
(2 months ago)
- Author:
- Sam Hocevar <sam@zoy.org>
- git-committer:
- Sam Hocevar <sam@zoy.org> 1205933134 +0000
- git-parent:
[8b06bdb4caf5b78af5be9e02f59fa4bc4ba0c61a]
- git-author:
- Sam Hocevar <sam@zoy.org> 1205932689 +0000
- Message:
Add a --disable-vlc configure flag to not build VLC.
In some cases (eg. when building binary packages) one only needs libvlc
and libvlc-control and does not wish to build or install VLC binaries.
This --disable-vlc flag saves us from manually removing the unwanted
binaries after "make install".
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0b446e7 |
r16c69ad |
|
| 290 | 290 | bin_SCRIPTS += $(ALIASES) |
|---|
| 291 | 291 | CLEANFILES += $(ALIASES) |
|---|
| | 292 | if BUILD_VLC |
|---|
| 292 | 293 | EXTRA_SCRIPTS = $(ALL_ALIASES) |
|---|
| | 294 | endif |
|---|
| 293 | 295 | |
|---|
| 294 | 296 | dist_noinst_SCRIPTS += make-alias |
|---|
| … | … | |
| 314 | 316 | $(MKALIAS) ncurses |
|---|
| 315 | 317 | |
|---|
| | 318 | if BUILD_VLC |
|---|
| 316 | 319 | noinst_SCRIPTS = vlc$(EXEEXT) |
|---|
| | 320 | endif |
|---|
| 317 | 321 | |
|---|
| 318 | 322 | vlc$(EXEEXT): core |
|---|
| … | … | |
| 327 | 331 | if HAVE_DARWIN |
|---|
| 328 | 332 | # Create the MacOS X app |
|---|
| | 333 | if BUILD_VLC |
|---|
| 329 | 334 | noinst_DATA = VLC.app |
|---|
| | 335 | endif |
|---|
| 330 | 336 | # VLC-release.app is the old VLC.app target |
|---|
| 331 | 337 | VLC-release.app: vlc |
|---|
| r97a9d4e |
r16c69ad |
|
| 5721 | 5721 | VLC_ADD_LIBS([realaudio],[../../libs/loader/libloader.la]) |
|---|
| 5722 | 5722 | ]) |
|---|
| | 5723 | |
|---|
| | 5724 | AC_ARG_WITH(,[Components:]) |
|---|
| | 5725 | |
|---|
| | 5726 | dnl |
|---|
| | 5727 | dnl the VLC binary |
|---|
| | 5728 | dnl |
|---|
| | 5729 | AC_ARG_ENABLE(vlc, |
|---|
| | 5730 | [ --enable-vlc build the VLC media player (default enabled)]) |
|---|
| | 5731 | AM_CONDITIONAL(BUILD_VLC, [test "${enable_vlc}" != "no"]) |
|---|
| 5723 | 5732 | |
|---|
| 5724 | 5733 | dnl |
|---|
| … | … | |
| 6301 | 6310 | |
|---|
| 6302 | 6311 | printf " |
|---|
| 6303 | | vlc configuration |
|---|
| | 6312 | libvlc configuration |
|---|
| 6304 | 6313 | -------------------- |
|---|
| 6305 | | vlc version : ${VERSION} |
|---|
| | 6314 | version : ${VERSION} |
|---|
| 6306 | 6315 | system : ${SYS} |
|---|
| 6307 | 6316 | architecture : ${ARCH} |
|---|
| … | … | |
| 6312 | 6321 | test "${enable_optimizations}" = "yes" && printf "optim " |
|---|
| 6313 | 6322 | test "${enable_release}" = "yes" && printf "release " || printf "devel " |
|---|
| 6314 | | echo " |
|---|
| 6315 | | vlc aliases :${ALIASES} |
|---|
| 6316 | | plugins/bindings :${PLUGINS_BINDINGS} |
|---|
| | 6323 | echo "" |
|---|
| | 6324 | if test "${enable_vlc}" != "no"; then |
|---|
| | 6325 | echo "vlc aliases :${ALIASES}" |
|---|
| | 6326 | else |
|---|
| | 6327 | echo "build vlc executable : no" |
|---|
| | 6328 | fi |
|---|
| | 6329 | echo "plugins/bindings :${PLUGINS_BINDINGS} |
|---|
| 6317 | 6330 | |
|---|
| 6318 | 6331 | You can check which modules have been enabled |
|---|
| r55f3a9f |
r16c69ad |
|
| 389 | 389 | ############################################################################### |
|---|
| 390 | 390 | |
|---|
| | 391 | if BUILD_VLC |
|---|
| 391 | 392 | bin_PROGRAMS = vlc |
|---|
| 392 | | # |
|---|
| | 393 | endif |
|---|
| | 394 | |
|---|
| 393 | 395 | vlc_SOURCES = vlc.c |
|---|
| 394 | 396 | vlc_DEPENDENCIES = $(DATA_win32_rc) libvlc.la |
|---|
| … | … | |
| 398 | 400 | vlc_LDADD = $(DATA_win32_rc) libvlc.la $(LTLIBINTL) `$(VLC_CONFIG) -libs vlc` |
|---|
| 399 | 401 | |
|---|
| | 402 | if BUILD_VLC |
|---|
| 400 | 403 | vlc$(EXEEXT): $(vlc_OBJECTS) $(vlc_DEPENDENCIES) |
|---|
| 401 | 404 | @rm -f vlc$(EXEEXT) |
|---|
| … | … | |
| 416 | 419 | $(WINDRES) -DVERSION=$(VERSION) -DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'` --include-dir $(top_srcdir)/share -i $< -o $@ |
|---|
| 417 | 420 | endif |
|---|
| | 421 | endif |
|---|
| 418 | 422 | |
|---|
| 419 | 423 | ############################################################################### |
|---|