Mercurial > mplayer.hg
changeset 36721:e9044aed2250
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.
author | ib |
---|---|
date | Sun, 09 Feb 2014 09:22:09 +0000 |
parents | 962e2f41a08e |
children | af6374499845 |
files | help/help_check.sh |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/help/help_check.sh Sat Feb 08 21:43:04 2014 +0000 +++ b/help/help_check.sh Sun Feb 09 09:22:09 2014 +0000 @@ -35,7 +35,12 @@ 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);