[MPlayer-cvslog] r36817 - trunk/help/help_check.sh

ib subversion at mplayerhq.hu
Sun Feb 9 10:22:10 CET 2014


Author: ib
Date: Sun Feb  9 10:22:09 2014
New Revision: 36817

Log:
Fix issue with testing of the help message header files.

In order for all definitions to be checked properly, we cannot rely
on config.h, but must assure that all conditional symbolic constants
are defined.

Modified:
   trunk/help/help_check.sh

Modified: trunk/help/help_check.sh
==============================================================================
--- trunk/help/help_check.sh	Sat Feb  8 22:43:04 2014	(r36816)
+++ trunk/help/help_check.sh	Sun Feb  9 10:22:09 2014	(r36817)
@@ -35,7 +35,12 @@ for h in "$@"; do
   cat <<EOF > ${CHECK}.c
 #include <inttypes.h>
 #include <string.h>
-#include "config.h"
+#ifndef CONFIG_VCD
+#define CONFIG_VCD
+#endif
+#ifndef CONFIG_DVDREAD
+#define CONFIG_DVDREAD
+#endif
 #include "$h"
 void $CHECK () {
 strdup(help_text);


More information about the MPlayer-cvslog mailing list