1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-16 16:02:54 +02:00
Commit Graph

238 Commits

Author SHA1 Message Date
Christophe Mutricy
6323d0de6d Don't delete compile. It can't go wrong and get regenerated by configure anyway 2007-10-04 21:01:25 +00:00
Bernie Purcell
92ba24e7ed Reverse temporary change for altair's win32 builder 2007-09-25 01:31:34 +00:00
Bernie Purcell
50c767a772 Temporary change to try to force altair to update its version of gettext
from 0.16 to 0.16.1 before bootstrap (unlike the other builders it doesn't
bootstrap the contribs first)
2007-09-25 01:29:18 +00:00
Bernie Purcell
f0d5f2d2a5 Reverse temporary change 2007-09-25 01:00:21 +00:00
Bernie Purcell
61ee092383 Temporary change to analyse buildbot's environment in regards
to autopoint for win32
2007-09-25 00:57:50 +00:00
Bernie Purcell
68456f6755 Couldn't bootstrap properly if a number existed anywhere in the path
to gettextize (eg. if I was building inside a directory called win32)
2007-09-24 05:30:51 +00:00
Rafaël Carré
1fd6a94503 bootstrap: print a success message
unify errors on missing/too old tools
remove insulting and not used variables
2007-09-13 21:25:01 +00:00
Rémi Denis-Courmont
38e8690500 Separate Makefile generation from bootstrap
so that we can update individual Makefile.am files.
2007-09-01 16:58:35 +00:00
Rémi Denis-Courmont
80def97f15 Continue fixing static builds 2007-08-15 17:37:20 +00:00
Damien Fouilleul
c44c43bc20 bootstrap: remove small bug when generating Makefile.am from Modules.am 2007-08-03 15:22:02 +00:00
Damien Fouilleul
b6a0198034 more libtool updates, removed some ol' crust 2007-07-31 13:40:01 +00:00
Damien Fouilleul
51318129c0 bootstrap: remove libtool patch for cygwin as we now use libtool 'properly' 2007-07-31 13:07:37 +00:00
Damien Fouilleul
3a22524a0a libtool: prefer -export-dynamic over -export-regex, -export-symbols if compiler already supports symbol visibility (gcc 4.x), this should also deprecate libvlc.sym 2007-07-31 13:00:20 +00:00
Rémi Denis-Courmont
f243dbe49c Cosmetic fix 2007-07-29 08:47:13 +00:00
Rémi Denis-Courmont
f1eecee21d Remove USE_LIBTOOL hack 2007-07-29 08:43:08 +00:00
Rémi Denis-Courmont
5cf35d4456 Remove gettext template 2007-07-29 08:28:36 +00:00
Damien Fouilleul
8aa8878703 - mingw32: fix libtool linking. 2007-07-24 17:15:59 +00:00
Damien Fouilleul
935af8b059 - bootstrap: quick fix for libtooling modules for mingw 2007-07-23 22:36:45 +00:00
Pierre d'Herbemont
757fcfc93b bootstrap: Fix previous commit (oops I did it again). 2007-07-20 22:52:44 +00:00
Pierre d'Herbemont
710b2c480a boostrap: Fix previous commit (oops) 2007-07-20 22:44:02 +00:00
Pierre d'Herbemont
88a4e29812 bootstrap: Use libtoolize from contrib by default. 2007-07-20 22:40:23 +00:00
Rémi Denis-Courmont
2dc7b44347 Stupid typo 2007-07-20 13:24:54 +00:00
Rémi Denis-Courmont
92ad9789e7 Clean up 2007-07-20 13:13:53 +00:00
Pierre d'Herbemont
14b5b5ff59 bootstrap: Attempt to fix Mac OS X build using libtool. Please review. 2007-07-19 20:14:50 +00:00
Rémi Denis-Courmont
130afa593b Remove non-libtool targets.
automake could hardly keep up with 700 targets.
2007-07-19 17:28:35 +00:00
Rémi Denis-Courmont
9b007c13bd Remove some useless cruft 2007-07-18 19:47:29 +00:00
Pierre d'Herbemont
81657c9b97 bootstrap: Fix previous commit. 2007-06-20 21:14:58 +00:00
Pierre d'Herbemont
7173c8f8dd bootstrap: Make sure we warn the user when no contrib is present on Mac OS X. 2007-06-20 21:01:26 +00:00
Jean-Paul Saman
bfa762d4a9 Portability fix: use head -n 1 iso head -1 2007-06-13 08:37:51 +00:00
Pierre d'Herbemont
4ee6aa92d6 bootstrap: Warn if contrib hasn't been built (on Mac OS X). (good for new comers). 2007-05-28 18:27:44 +00:00
Rémi Denis-Courmont
620dc72af1 - Revert [20137]
- Revert [20138]
 - Revert [20139]

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.
2007-05-17 10:38:01 +00:00
Jean-Paul Saman
235ce9bac9 Patch config.sub to recognize uclibc system. 2007-05-16 14:52:02 +00:00
Christophe Mutricy
77e5b00d85 Allow user to pass extra args to aclocal. 2007-03-14 21:34:22 +00:00
Rémi Denis-Courmont
56e9569c94 - Improve DIST_SUBDIR
- Require automake 1.9 to fix some libtool plugin build problems
- Remove useless libs/Makefile
2007-03-11 11:04:38 +00:00
Christophe Mutricy
6871383f30 support for automake 1.10. Patch courtesy of scop on trac. Fix #1041 2007-02-04 20:20:41 +00:00
Damien Fouilleul
fe12c564e8 - bootstrap: patch libtool on cygwin to prevent linking shared library as '.dll.exe' files 2006-12-14 13:53:31 +00:00
Rémi Denis-Courmont
a7a199e307 Forgot this file 2006-12-10 19:57:01 +00:00
Rafaël Carré
8ea0368184 Detects too old automake version using 1.X-pY versioning 2006-11-28 23:04:54 +00:00
Christophe Mutricy
970cd4e80a Fix the inclusion of extras/contrib/bin to the PATH 2006-11-14 14:51:35 +00:00
Rémi Denis-Courmont
d6abc4d998 Build plugins with -no-undefined 2006-10-20 14:59:14 +00:00
Rémi Denis-Courmont
9574d3b561 Remove some more cruft 2006-10-19 19:52:49 +00:00
Rémi Denis-Courmont
29d8ffc9be Oh! No more builtins!
(well only for libtool and shared libvlc)

Clean your build tree before whining.

And yes, it breaks the mostly-builtin option (obviously).
It also speeds up automake a tiny bit.
2006-10-19 19:29:46 +00:00
Rémi Denis-Courmont
6810a85e35 Revert lame revert from [16628].
Provide trivial work-around for users of obsolete autoconf
2006-09-12 18:03:45 +00:00
Rémi Denis-Courmont
9360ead000 Fortunately, VLC is not using CVS anymore. 2006-09-12 17:47:05 +00:00
Damien Fouilleul
2242665b9b - bootstrap: removed vlcintf.h
- configure.ac: autoconf 2.59c is not yet supported in Cygwin, added Wine support for ActiveX plugin
2006-09-12 17:03:39 +00:00
Sam Hocevar
47eb22002c * No longer use the $(pic) variable, since all flags are properly set
in the configure script.
2006-09-11 10:51:16 +00:00
Rémi Denis-Courmont
75b1aa19f5 Also control plugin export table 2006-09-10 17:54:17 +00:00
Damien Fouilleul
ba98f2bd51 - fixed Cygwin issue when linking/building shared libvlc.dll 2006-08-18 15:10:21 +00:00
Clément Stenac
f15c486bef * Fix a number of encoding bugs
* add "make nice" in modules to call ./compile
2006-07-18 18:57:19 +00:00
Rémi Denis-Courmont
f22738a8d4 Don't duplicate check for automake 1.7 2006-07-16 19:16:48 +00:00
Sam Hocevar
da6b3153d7 * bootstrap: strip library version from modules. 2006-07-13 11:48:47 +00:00
Rémi Denis-Courmont
9d85b9dace Some build systems clean up. Now require automake 1.7
Automake 1.5 and 1.6 both suck, and 1.7 is almost four years old, so there is really no excuse for not using a decent version. Besides, there seems to some problems while building the loader with old Automake versions.
2006-06-04 18:09:30 +00:00
Rémi Denis-Courmont
5b369300e5 Suppress support for position dependant code (except on mingw32).
This simplifies the build system quite a lot, and reduce compilation
times when PIC is actually needed.

If you really mind the extra overhead of PIC, use:
./configure --enable-libtool --enable-static --disable-shared
2006-06-04 17:07:19 +00:00
Filippo Carone
7cc72564f9 pic libraries are now correctly installed when needed:
* --enable-pic added in configure.ac
* bootstrap modified to use BUILD_PIC in place of BUILD_MOZILLA where needed
2006-06-04 15:30:18 +00:00
Sam Hocevar
8c672e8dfb * bootstrap: simplified automake detection and added support for the FreeBSD
automake naming scheme.
2006-06-01 09:53:36 +00:00
Rémi Denis-Courmont
e65878a6ef libtool: Compile builtins as convenience libraries rather than static ones
Might fix PIC linking issues on amd64
2006-03-21 16:08:35 +00:00
Rémi Denis-Courmont
b92e91322c Remove superfluous dep 2006-03-04 20:24:19 +00:00
Rémi Denis-Courmont
078efe2d20 Libtool: kludge^H^H^H^H^H^Hfix make (|un)install within modules/subdir/subdir 2006-03-04 12:34:28 +00:00
Rémi Denis-Courmont
38cb71b272 libtool: Propagate errors from make (|un)install 2006-03-04 12:20:06 +00:00
Rémi Denis-Courmont
8e3a102f3f libtool:
- Don't link builtins against anything (dependencies are linked in libvlc)
 - Don't mangle name of underlying libraries
2006-03-02 07:52:53 +00:00
Rémi Denis-Courmont
caeddaf28b libtool: fix make distclean 2006-02-28 15:29:42 +00:00
Rémi Denis-Courmont
262b957be0 With libtool, compile builtins as lib*_builtin.la to avoid name collision
with actual system library (seems to fix weird compilation problem with
flac and theora builtins)
2006-02-28 15:12:37 +00:00
Rémi Denis-Courmont
af60367499 Use noinst_ rather than libvlc_ for builtins 2006-02-28 12:58:37 +00:00
Rémi Denis-Courmont
7e7d587a44 Implement clean with --enable-libtool
May fix builtins recompilation (theora, flac...)
2006-02-28 12:22:24 +00:00
Rémi Denis-Courmont
0640b738e2 Fix the work-around for the work-around 2006-02-28 09:01:59 +00:00
Rémi Denis-Courmont
6a73573370 mv -> mv -f 2006-02-28 08:42:23 +00:00
Rémi Denis-Courmont
0fbd1b1b5f Missing quotes 2006-02-28 08:37:44 +00:00
Rémi Denis-Courmont
a0fb646ab9 Work-around libtool's work-around which adds .exe on Cygwin 2006-02-27 20:59:08 +00:00
Rémi Denis-Courmont
ec566c12d9 Don't loop infinitely when then is no plugin to install (libtool-only) 2006-02-27 20:29:39 +00:00
Rémi Denis-Courmont
9d1d95de40 Get rid of --enable-shared-libvlc on non-Microsoft platforms
as it did never worked properly, if at all with these
(you should use libtool to build a shared libvlc instead)
2006-02-26 14:48:02 +00:00
Rémi Denis-Courmont
6aa5b04632 _Experimental_ *optional* libtool support (--enable-libtool)
Should work fine (ie. better than --enable-shared-libvlc) on Linux,
should work on Mac OS X (except for packaging), while shared libvlc doesn't.

Won't work on Win32 with the current Win32 contrib. Stick to static libvlc or
use --enable-shared-libvlc for now.
2006-02-23 19:41:36 +00:00
Rémi Denis-Courmont
be62d282ac - Build libvlc from src/ rather than top
so that it is cleanly built before all modules
  (step toward buildable shared libvlc on Win32)
- Don't build position dependant code when building shared libvlc
  (that was a big waste of time)
- Link builtin modules with vlc rather than libvlc
2006-02-19 13:11:21 +00:00
Rémi Denis-Courmont
486667b33d ooups 2006-02-19 09:16:05 +00:00
Rémi Denis-Courmont
7a79cedebf - Seemingly fix linking of plugins with shared libvlc on Win32
- Hopefully the same on Darwin

!!! BIG FAT WARNING !!!
On architectures where you need to resolve all symbols when
linking a shared library, libvlc must be built before the plugins, so
that they can resolve symbols from the libvlc API. Also, the "builtins"
must be built before libvlc (regardless of the architecture or use of
shared libvlc). However, our build system currently builds all modules,
whether builtins or plugins, then libvlc and then vlc.

Obviously, we could swap the build orders, so that libvlc gets built
before modules/ but that will only work if there is no buitins modules.
I'm not too keen on the idea of recursing twice within the modules/
subdirectories (once for builtins, and once for plugins). Until the
issue is settled, here is how to build and test the shared libvlc on
Win32:

1/ run configure with --enable-shared-libvlc
2/ build all built-in modules (or disable them all) one by one,
3/ make libvlc.dll
4/ make
2006-02-19 09:03:58 +00:00
Christophe Mutricy
2eb4b37502 bootstrap: test for the presence of contrib/share/aclocal before including it because m4 react badly to missing directory 2005-11-07 20:15:16 +00:00
Marian Durkovic
41e197b52a fix for missing modules - hope this closes #412 2005-11-02 13:42:48 +00:00
Sam Hocevar
b308b839ac * bootstrap: fixed bashism (#411). 2005-10-26 14:37:49 +00:00
Sam Hocevar
f0d69f13d3 * bootstrap configure.ac: removed Cisms from shell tests (#411). 2005-10-26 14:31:03 +00:00
Sam Hocevar
b1e57e2a4e * HA! HA! I ARE USING TEH AM_MAINTAINER_MODE!!!1! 2005-09-23 12:09:46 +00:00
Sam Hocevar
99fb54995a * bravo sam. 2005-09-23 11:54:46 +00:00
Sam Hocevar
9621628b65 * bootstrap: issue an error if gettextize is not present. 2005-09-23 11:47:52 +00:00
Rémi Denis-Courmont
3284ec0bc5 - experimental disabled-by-default shared libvlc build.
I said "experimental". I meant it.
  Developers might try --enable-shared-libvlc
- remove autom4te*.cache on bootstrap
  (some customized autoconf add their version number)
- some clean up
2005-08-20 12:30:12 +00:00
Rémi Denis-Courmont
9f4f40e2c5 Use most recent automake version
Slower maybe, but safer
and arguably more suited for automatically issued tarballs
2005-08-20 08:41:50 +00:00
Rémi Denis-Courmont
52778f03a6 Undo erroneous previous commit
(wanted to cancel, but I pressed the wrong key)
2005-08-20 08:37:45 +00:00
Rémi Denis-Courmont
a5f2904ae4 Don't fallback to automake 1.6
bootstrap might be a little slower,
but that'll ensure more recent build-system in tarballs.
Besides,
2005-08-20 08:36:37 +00:00
Rémi Denis-Courmont
4c7f9a4852 Fix typos in static libraries installation 2005-08-19 15:18:24 +00:00
Rémi Denis-Courmont
837f796ea3 Some old automake versions seem not to know about mkdir_p 2005-08-19 14:27:52 +00:00
Rémi Denis-Courmont
c4a560fb1d Redo 12234; this time with (hopefully) Mac OS X support
It was probably too easy that building to Windows and Linux worked the same
2005-08-18 17:00:20 +00:00
Rémi Denis-Courmont
caae8fc106 Grrr damn Mac OS X linker 2005-08-18 16:27:00 +00:00
Rémi Denis-Courmont
418e633928 - Use a common rule to build plugins (refs #297)
(tested on Mingw32 and native Linux, might need some tweaks)
- Remove some legacy code
2005-08-18 15:38:09 +00:00
Rémi Denis-Courmont
239aa0bf6d - (Un)install plugins from their directory (refs #297)
- Fix mostlyclean target
2005-08-18 15:36:12 +00:00
Clément Stenac
479fd822c6 Don't use m4 comments in Makefile. Should fix win32 build 2005-08-14 16:15:50 +00:00
Rémi Denis-Courmont
5ddfe43103 Add missing slashes 2005-08-13 17:43:47 +00:00
Rémi Denis-Courmont
b2d9058407 Don't use undefined variables - should make automake 1.6 happy 2005-08-13 09:13:08 +00:00
Rémi Denis-Courmont
7b2a1b3c37 Get rid of the UNTRUE conditionnal
and some other Makefile cleanup
2005-08-13 08:12:37 +00:00
Rémi Denis-Courmont
3b16a551af Speed up recursive make significantly 2005-08-12 19:17:33 +00:00
Rémi Denis-Courmont
3ad73201e4 Don't remove vlc_symbols.h 2005-06-04 12:55:23 +00:00
Rocky Bernstein
3b8f14f8d7 Allow automake 1.9.2 2004-12-08 02:06:58 +00:00
Rocky Bernstein
1295a9b802 automake 1.8 works, so accept that as well. 2004-08-22 02:17:43 +00:00
Sam Hocevar
2ec46a08a5 * boostrap:
+ Remove the autotools directory and recreate it (forgot to commit that
      file before).
2004-07-30 15:46:01 +00:00