Changeset 620dc72af1b422e046351704db82de886dffc78a
- Timestamp:
- 05/17/07 12:38:01
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1179398281 +0000
- git-parent:
[2a14ed222c1ce7b1c4ba19078628abef9aff5ee3]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1179398281 +0000
- Message:
Special credits to these commits for:
- breaking the build system,
- crashing VLC on every single 64-bits platform,
- breaking bootstrap with any version of automake that is not the same as the one on Jean-Paul's computer.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2a14ed2 |
r620dc72 |
|
| 13 | 13 | # - po should come before . because VLC.app needs the pofiles |
|---|
| 14 | 14 | # - loader should come before modules because some plugins need it |
|---|
| 15 | | SUBDIRS = intl po libs/loader |
|---|
| 16 | | if HAVE_LIBGCRYPT |
|---|
| 17 | | SUBDIRS += libs/srtp |
|---|
| 18 | | endif |
|---|
| 19 | | SUBDIRS += src modules . \ |
|---|
| | 15 | SUBDIRS = intl po libs/loader libs/srtp src modules . \ |
|---|
| 20 | 16 | mozilla bindings activex share doc |
|---|
| 21 | 17 | DIST_SUBDIRS = $(SUBDIRS) m4 ipkg |
|---|
| r235ce9b |
r620dc72 |
|
| 473 | 473 | ${automake} --add-missing --copy -Wall |
|---|
| 474 | 474 | |
|---|
| 475 | | # patch for uclibc support on linux (remove when fixed) |
|---|
| 476 | | patch -s -p0 << 'EOF' |
|---|
| 477 | | --- autotools/config.sub.orig 2007-05-16 13:16:41.000000000 +0200 |
|---|
| 478 | | +++ autotools/config.sub 2007-05-16 13:17:34.000000000 +0200 |
|---|
| 479 | | @@ -1110,6 +1110,9 @@ |
|---|
| 480 | | -unixware*) |
|---|
| 481 | | os=-sysv4.2uw |
|---|
| 482 | | ;; |
|---|
| 483 | | + -uclibc*) |
|---|
| 484 | | + os=-linux |
|---|
| 485 | | + ;; |
|---|
| 486 | | -gnu/linux*) |
|---|
| 487 | | os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
|---|
| 488 | | ;; |
|---|
| 489 | | EOF |
|---|
| 490 | | |
|---|
| 491 | 475 | ## |
|---|
| 492 | 476 | ## files which need to be regenerated |
|---|
| rcafb186 |
r620dc72 |
|
| 482 | 482 | # if !defined (__PLUGIN__) || defined (HAVE_SHARED_LIBVLC) |
|---|
| 483 | 483 | # ifdef __cplusplus |
|---|
| 484 | | # if HAVE_ATTRIBUTE_VISIBILITY |
|---|
| 485 | | # define VLC_EXPORT( type, name, args ) extern "C" __attribute__((visibility("default"))) type name args |
|---|
| 486 | | # define VLC_INTERNAL( type, name, args ) extern "C" __attribute__((visibility("hidden"))) type name args |
|---|
| 487 | | # else |
|---|
| 488 | 484 | # define VLC_EXPORT( type, name, args ) extern "C" type name args |
|---|
| 489 | 485 | # define VLC_INTERNAL( type, name, args ) extern "C" type name args |
|---|
| 490 | | # endif |
|---|
| 491 | 486 | # else |
|---|
| 492 | | # if HAVE_ATTRIBUTE_VISIBILITY |
|---|
| 493 | | # define VLC_EXPORT( type, name, args ) __attribute__((visibility("default"))) type name args |
|---|
| 494 | | # define VLC_INTERNAL( type, name, args ) __attribute__((visibility("hidden"))) type name args |
|---|
| 495 | | # else |
|---|
| 496 | 487 | # define VLC_EXPORT( type, name, args ) type name args |
|---|
| 497 | 488 | # define VLC_INTERNAL( type, name, args ) type name args |
|---|
| 498 | | # endif |
|---|
| 499 | 489 | # endif |
|---|
| 500 | 490 | # else |
|---|
| re52e464 |
r620dc72 |
|
| 365 | 365 | }; |
|---|
| 366 | 366 | |
|---|
| 367 | | #include <vlc/libvlc.h> |
|---|
| | 367 | #include <libvlc.h> |
|---|
| 368 | 368 | |
|---|
| 369 | 369 | static inline stream_t *vlc_stream_create( vlc_object_t *obj ) |
|---|