Browse Source

Revert "configure: add #include "version.h" to config.h"

This reverts commit ca21116b3f.

Revert suggested by Jamal:
"Bad secondary effect i just noticed: Every time version.h is changed
 (git pull for example), anything that includes config.h will be
 recompiled. And that means pretty much every single file in the tree.
"
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
0075a22f41
3 changed files with 2 additions and 1 deletions
  1. +1
    -0
      cmdutils.c
  2. +0
    -1
      configure
  3. +1
    -0
      ffprobe.c

+ 1
- 0
cmdutils.c View File

@@ -50,6 +50,7 @@
#include "libavutil/opt.h"
#include "libavutil/cpu.h"
#include "cmdutils.h"
#include "version.h"
#if CONFIG_NETWORK
#include "libavformat/network.h"
#endif


+ 0
- 1
configure View File

@@ -4921,7 +4921,6 @@ cat > $TMPH <<EOF
#define FFMPEG_CONFIG_H
#define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)"
#define FFMPEG_LICENSE "$(c_escape $license)"
#include "version.h"
#define CONFIG_THIS_YEAR 2013
#define FFMPEG_DATADIR "$(eval c_escape $datadir)"
#define AVCONV_DATADIR "$(eval c_escape $datadir)"


+ 1
- 0
ffprobe.c View File

@@ -24,6 +24,7 @@
*/

#include "config.h"
#include "version.h"

#include <string.h>



Loading…
Cancel
Save