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>
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.
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.
Loop during autoconf since we always use fixed strings for the first
parameter anyway. Probably saves some runtime too ;).
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
their LDFLAGS.
* bootstrap: use grep >/dev/null 2>&1 instead of grep -q because of retarded
systems such as our beloved Solaris.
* po/:
+ Regenerated vlc.pot.
+ Updated British translation.
+ Fixed fuzzy entries in the French translation.
+ Call $(srcdir)/toolbox from $(builddir) instead of $(srcdir).
+ Call $(builddir)/vlc-config instead of $(srcdir)/vlc-config, because
generated files end in $(builddir).
+ Added -Imozilla to the mozilla plugin link flags.
+ Look for mozilla/vlcintf.idl in $(srcdir).
* configure.ac:
+ Set VLC_CONFIG to $(builddir)/vlc-config instead of $(srcdir)/vlc-config.
* toolbox:
+ Look for Makefile.am in ${srcdir}, and Makefile in ${builddir}.
+ Prepend ${srcdir} to header files we handle.
* m4/vlc.m4:
+ Look for vlc-config.in.in in ${srcdir} but generate vlc-config.in in
${builddir}.
* modules/gui/skins/src/dialogs.cpp, modules/gui/wxwindows/interface.cpp:
+ Include the pixmap with a path relative to the current directory.
This commit should fix builds that use --srcdir (Closes: #319).