<html><head></head><body>Use ccache.<br><br>-1<br><br><div class="gmail_quote">Le 29 janvier 2020 09:42:51 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">If the configure call changed but the built files are the same and the rest<br>of the config.h file has not changed, no need to rebuild everything.<hr> configure.ac | 3 ++-<br> src/Makefile.am | 2 ++<br> src/misc/gen_messages.c.in | 46 ++++++++++++++++++++++++++++++++++++++<br> src/misc/messages.c | 9 +-------<br> 4 files changed, 51 insertions(+), 9 deletions(-)<br> create mode 100644 src/misc/gen_messages.c.in<br><br>diff --git a/configure.ac b/configure.ac<br>index ad2c55aeeb0..390721866b0 100644<br>--- a/configure.ac<br>+++ b/configure.ac<br>@@ -4505,7 +4505,6 @@ COPYRIGHT_MESSAGE="Copyright © ${COPYRIGHT_YEARS} the VideoLAN team"<br> AC_DEFINE_UNQUOTED([VERSION_MESSAGE], "${VERSION_MESSAGE}", [Simple version string])<br> AC_DEFINE_UNQUOTED([COPYRIGHT_MESSAGE], "${COPYRIGHT_MESSAGE}", [Copyright string])<br> AC_DEFINE_UNQUOTED([COPYRIGHT_YEARS], "${COPYRIGHT_YEARS}", [The copyright years])<br>-AC_DEFINE_UNQUOTED([CONFIGURE_LINE], "${CONFIGURE_LINE}", [The ./configure command line])<br> AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],${VERSION_MAJOR}, [version major number])<br> AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR],${VERSION_MINOR}, [version minor number])<br> AC_DEFINE_UNQUOTED([PACKAGE_VERSION_REVISION],${VERSION_REVISION}, [version revision number])<br>@@ -4513,6 +4512,7 @@ AC_DEFINE_UNQUOTED([PACKAGE_VERSION_EXTRA],${VERSION_EXTRA}, [version extra numb<br> AC_DEFINE_UNQUOTED([PACKAGE_VERSION_DEV],"${VERSION_DEV}", [version development string])<br> AC_SUBST([COPYRIGHT_MESSAGE])<br> AC_SUBST([VERSION_MESSAGE])<br>+AC_SUBST([CONFIGURE_LINE])<br> AC_SUBST([VERSION_MAJOR])<br> AC_SUBST([VERSION_MINOR])<br> AC_SUBST([VERSION_REVISION])<br>@@ -4558,6 +4558,7 @@ AC_CONFIG_FILES([<br> test/Makefile<br> modules/hw/mmal/Makefile<br> share/vlc.appdata.xml.in<br>+ src/misc/gen_messages.c<br> ])<br> <br> AM_COND_IF([HAVE_WIN32], [<br>diff --git a/src/Makefile.am b/src/Makefile.am<br>index b6c59968370..2fd69aeb989 100644<br>--- a/src/Makefile.am<br>+++ b/src/Makefile.am<br>@@ -390,6 +390,8 @@ libvlccore_la_SOURCES = \<br> misc/subpicture.h \<br> misc/medialibrary.c \<br> misc/viewpoint.c<br>+nodist_libvlccore_la_SOURCES = misc/gen_messages.c<br>+CLEANFILES += misc/gen_messages.c<br> libvlccore_la_LIBADD = $(LIBS_libvlccore) \<br> ../compat/libcompat.la \<br> $(LTLIBINTL) $(LTLIBICONV) \<br>diff --git a/src/misc/gen_messages.c.in b/src/misc/gen_messages.c.in<br>new file mode 100644<br>index 00000000000..da92de80e23<br>--- /dev/null<br>+++ b/src/misc/gen_messages.c.in<br>@@ -0,0 +1,46 @@<br>+/*****************************************************************************<br>+ * messages.c: messages interface<br>+ * This library provides an interface to the message queue to be used by other<br>+ * modules, especially intf modules. See vlc_config.h for output configuration.<br>+ *****************************************************************************<br>+ * Copyright (C) 1998-2005 VLC authors and VideoLAN<br>+ *<br>+ * Authors: Vincent Seguin <seguin@via.ecp.fr><br>+ * Samuel Hocevar <sam@zoy.org><br>+ *<br>+ * This program is free software; you can redistribute it and/or modify it<br>+ * under the terms of the GNU Lesser General Public License as published by<br>+ * the Free Software Foundation; either version 2.1 of the License, or<br>+ * (at your option) any later version.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>+ * GNU Lesser General Public License for more details.<br>+ *<br>+ * You should have received a copy of the GNU Lesser General Public License<br>+ * along with this program; if not, write to the Free Software Foundation,<br>+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.<br>+ *****************************************************************************/<br>+<br>+/*****************************************************************************<br>+ * Preamble<br>+ *****************************************************************************/<br>+<br>+#ifdef HAVE_CONFIG_H<br>+# include "config.h"<br>+#endif<br>+<br>+#include <vlc_common.h><br>+<br>+extern const char psz_vlc_changeset[];<br>+void vlc_LogSpam(vlc_object_t *obj);<br>+<br>+void vlc_LogSpam(vlc_object_t *obj)<br>+{<br>+ /* Announce who we are */<br>+ msg_Dbg(obj, "VLC media player - @VERSION_MESSAGE@");<br>+ msg_Dbg(obj, "@COPYRIGHT_MESSAGE@");<br>+ msg_Dbg(obj, "revision %s", psz_vlc_changeset);<br>+ msg_Dbg(obj, "configured with @CONFIGURE_LINE@");<br>+}<br>diff --git a/src/misc/messages.c b/src/misc/messages.c<br>index 08725113897..623d7616a07 100644<br>--- a/src/misc/messages.c<br>+++ b/src/misc/messages.c<br>@@ -42,14 +42,7 @@<br> #include <vlc_modules.h><br> #include "../libvlc.h"<br> <br>-static void vlc_LogSpam(vlc_object_t *obj)<br>-{<br>- /* Announce who we are */<br>- msg_Dbg(obj, "VLC media player - %s", VERSION_MESSAGE);<br>- msg_Dbg(obj, "%s", COPYRIGHT_MESSAGE);<br>- msg_Dbg(obj, "revision %s", psz_vlc_changeset);<br>- msg_Dbg(obj, "configured with %s", CONFIGURE_LINE);<br>-}<br>+void vlc_LogSpam(vlc_object_t *obj);<br> <br> struct vlc_logger {<br> const struct vlc_logger_operations *ops;</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>