1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00
Commit Graph

131 Commits

Author SHA1 Message Date
Hugo Beauzée-Luyssen
f799f9ced9 configure.ac: Bump required C++ version to 14 2019-04-04 10:31:17 +02:00
Rémi Denis-Courmont
8b3ebbbb2a m4: fix false negative working iconv test
Part of the test is leaking memory, which can trip the leak sanitizer.

(This should be fixed in gettext. In the mean time, it will need to be
 applied manually at every gettext update.)
2017-11-14 18:59:50 +02:00
Luca Barbato
dc05abe89d configure: Pass the macosx deps even if the intl to try is external
We build our own copy, gettext.m4 did not account this corner case.

close #17972
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2017-09-03 14:19:33 +02:00
Shaleen Jain
57949e7a9b configure: refactor RDC_PROG_{CC, CXX}_FLAGS with AX_APPEND_COMPILE_FLAGS
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2017-08-28 13:32:40 +02:00
Filip Roséen
c1ec873403 m4: fix c++ check for -f flags
Both gcc and clang generate warnings for unsupported -f$FLAG by
default, meaning that the previous implementation would consider
unsupported flags as supported (as a warning is not an error that
fails compilation).

The addition of -Werror treats warnings as errors, and will prevent
false-positives in terms of -f$FLAG support.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-02-24 00:22:48 +01:00
Rémi Denis-Courmont
d8a1f9378a Remove unused private.m4 2017-01-22 16:48:09 +02:00
Rémi Denis-Courmont
8325c17d62 gettext: update to version 0.19.8 2016-10-27 14:21:45 +03:00
Konstantin Pavlov
0946ea9f3c m4: fix C11 tests for FreeBSD/clang. 2016-10-04 16:01:07 +03:00
Rémi Denis-Courmont
606776eb3e m4: expand C++11 test 2016-09-20 13:03:20 +03:00
Rémi Denis-Courmont
03df6aeedd m4: helper for -f flags 2016-05-29 22:46:27 +03:00
Rémi Denis-Courmont
b3239cf77e configure: update gettext to 0.19.6 2015-11-02 21:36:01 +02:00
Rémi Denis-Courmont
f0e29749a7 configure: update gettext to 0.19.4 2015-07-06 22:11:45 +03:00
Rémi Denis-Courmont
ce150f3849 configure: test and enable C11 where available 2015-06-22 00:10:48 +03:00
Rémi Denis-Courmont
d3b892b8bc m4: improve C++11 check 2015-06-22 00:10:36 +03:00
Steve Lhomme
93c858553d add stdcxx_11 to the list of M4 files
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-05-16 12:08:01 +03:00
Jonathan Calmels
edf1c76018 configure: add support for C++11
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2015-04-30 14:03:43 +02:00
Diego Elio Pettenò
358ae6ba60 build: create a macro to check for, and replace, possibly-inline functions.
mingw (both 32 and 64) provides a number of functions that have no C
linkage, but are only available as static inline. Define a macro that can
check for the function declaration but acts like AC_REPLACE_FUNC.

Use the new macro for asprintf/vasprintf (previously implemented in
configure.ac directly).

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-03-16 19:21:42 +02:00
David Fuhrmann
17653702c7 m4: fix detection of supported "-Wxxx" flags with clang
Clang does not fail, but only prints a warning by default for unknown
-W options.
2014-10-18 09:15:00 +02:00
Rémi Denis-Courmont
e68826bd61 Update gettext to version 19.2 2014-09-30 20:48:13 +03:00
Francois Cartegnie
ba13ac0ca1 rename art_finder as meta_fetcher 2014-05-19 12:02:41 +02:00
Luca Barbato
dcffc92496 build: support YASM targets
The files must be .asm

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-11-05 14:39:50 +01:00
Rémi Denis-Courmont
d73a089667 Update to gettext 0.18.3.1, fix AC_CHECK_DECLS usage 2013-09-05 22:31:16 +03:00
Rémi Denis-Courmont
27be91965e gettext: update to version 0.18.3 2013-07-28 23:10:49 +03:00
Felix Paul Kühne
d879f020ae m4: fix gettext detection on OSX (close #5816) 2013-06-27 12:31:00 +02:00
Rémi Denis-Courmont
9d348109e4 Update gettext to 0.18.2
This supersedes commit 53c901581b.
2013-06-04 20:55:04 +03:00
Rémi Denis-Courmont
53c901581b Fix warning with automake 1.12 2013-05-25 10:38:52 +03:00
Felix Paul Kühne
16b0b99d80 m4: enable dolt support for further apple platforms
This allows us to use it on x86_64, ppc and iOS, too.
2012-10-08 15:09:46 +02:00
Luca Barbato
be75acdff7 dolt: support nacl and silent-rules on fallback
nacl doesn't use pic as does mingw.

Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-09-10 15:46:17 +02:00
Luca Barbato
8d969f7f52 configure: add DOLT
Shorten build time.

On x86_64 linux build:

LIBTOOL make -j2  60,82s user 13,98s system 112% cpu 1:06,59 total
        make -j2  56,83s user 12,72s system 110% cpu 1:03,20 total
DOLT    make -j2  44,32s user 11,02s system 108% cpu 51,215 total
        make -j2  42,15s user 11,04s system 106% cpu 50,155 total

Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-09-04 17:37:26 +02:00
Rafaël Carré
91df5145e0 Remove unused PLUGINS variable 2012-03-01 09:11:52 -05:00
Jean Baptiste-Kempf
e423b4ec42 Fix MacOS gettext intl detection
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
2012-01-22 09:19:03 -08:00
Faustino E. Osuna
c1df08645f Fix typo in M4 Cxx flags macro
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2012-01-02 14:30:48 +01:00
Rafaël Carré
6d652d11d4 remove obsolete comment 2011-09-18 22:53:41 -04:00
Rémi Denis-Courmont
ccf9342370 Remove vlc-config 2011-08-18 22:02:21 +03:00
Rémi Denis-Courmont
e7df8e75ea Migrate VLC_ADD_* flags from vlc-config to AC_SUBST 2011-08-18 21:23:25 +03:00
Rémi Denis-Courmont
873280f2ad Remove broken and useless vlc-config --list 2011-08-18 19:02:28 +03:00
Rémi Denis-Courmont
631e9e7f8a M4 C++ flags macros 2011-05-14 13:53:28 +03:00
Rémi Denis-Courmont
c3a51903f2 Remove some leftovers from pre-libtool era
(Note __BUILTIN__ was not used anymore as we have !__PLUGIN__)
2011-05-02 11:01:12 +03:00
Rémi Denis-Courmont
8b5b0cfa90 vlc-config: remove unused linkage command 2011-05-02 11:01:10 +03:00
Rémi Denis-Courmont
2c9b0d37a0 Only check optimization flags when useful 2011-05-01 20:43:11 +03:00
Rémi Denis-Courmont
4a78361e7a Do not force -O0 with --disable-optimizations
GCC takes the last -O* option, which defaults to -O0 anyway. With
./configure forcing -O0, there was no way to select a custom
optimization level via external CFLAGS.
2011-05-01 20:18:17 +03:00
Rémi Denis-Courmont
13e78d8105 Remove code size optimization
Optimizing VLC code for size is probably not such a great idea,
considering that media playback is performance critical. There are
better ways to reduce code size than -Os, e.g. Thumb(2) code on ARM.

And of course, removing unneeded plugins and feature is the best way
to reduce code size.
2011-05-01 19:01:02 +03:00
KO Myung-Hun
3da2e51ef8 OS/2 uses .dll as a extention for a shared library
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
2011-04-03 11:05:56 +02:00
Rémi Denis-Courmont
830fd6fc69 Update gettext files 2010-07-21 23:04:56 +03:00
Rémi Denis-Courmont
27e4465a44 m4/.gitignore: remove legacy filenames 2010-07-21 23:04:56 +03:00
Rémi Denis-Courmont
56de5bf2d9 Remove the Werror stuff for good
This is not portable across compilers and versions.
This belong in your own personal CFLAGS, not the build system.
2010-04-07 21:47:59 +03:00
Rémi Denis-Courmont
b8d77ded51 Remove --enable-release which has no effects 2010-02-07 18:06:11 +02:00
Jean-Baptiste Kempf
1f716cb755 m4: be more safe about quotes 2010-02-04 02:16:16 +01:00
Jean-Baptiste Kempf
7126c75fb3 Fix totally broken configure
Yeah, changing the behaviour about -l flags without explaning why nor changing the configure.ac accordingly was a good idea...
2010-02-04 01:54:38 +01:00
Daniel Mierswa
cddcd6dfaa Use eval in setting *FLAGS.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2010-02-04 00:32:50 +02:00