History

replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION

also update the multiple inclusion guards in config.h|mak

Janne Grunau committed 15 years ago

Commit 29ba0911 parent 070c5d010 files · +21 −21Browse files

Unified · Split

10 files
  1. Makefile +1 −1
  2. cmdutils.c +2 −2
  3. configure +11 −11
  4. libavcodec/utils.c +1 −1
  5. libavdevice/avdevice.c +1 −1
  6. libavfilter/avfilter.c +1 −1
  7. libavformat/utils.c +1 −1
  8. libavutil/utils.c +1 −1
  9. libpostproc/postprocess.c +1 −1
  10. libswscale/utils.c +1 −1
Makefile+1−1
@@ -177,7 +177,7 @@ distclean:: · 176 unmodified lines
177177 $(RM) version.h config.* libavutil/avconfig.h
178178
179179 config:
180− $(SRC_PATH)/configure $(value FFMPEG_CONFIGURATION)
180+ $(SRC_PATH)/configure $(value LIBAV_CONFIGURATION)
181181
182182 # regression tests
183183
cmdutils.c+2−2
@@ -397,7 +397,7 @@ static int warned_cfg = 0; · 396 unmodified lines
397397 } \
398398 if (flags & SHOW_CONFIG) { \
399399 const char *cfg = libname##_configuration(); \
400− if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
400+ if (strcmp(LIBAV_CONFIGURATION, cfg)) { \
401401 if (!warned_cfg) { \
402402 fprintf(outstream, \
403403 "%sWARNING: library configuration mismatch\n", \
@@ -427,7 +427,7 @@ void show_banner(void) · 23 unmodified lines
427427 program_name, program_birth_year, this_year);
428428 fprintf(stderr, " built on %s %s with %s %s\n",
429429 __DATE__, __TIME__, CC_TYPE, CC_VERSION);
430− fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
430+ fprintf(stderr, " configuration: " LIBAV_CONFIGURATION "\n");
431431 print_all_libs_info(stderr, INDENT|SHOW_CONFIG);
432432 print_all_libs_info(stderr, INDENT|SHOW_VERSION);
433433 }
configure+11−11
@@ -1688,7 +1688,7 @@ for v in "$@"; do · 1687 unmodified lines
16881688 r=${v#*=}
16891689 l=${v%"$r"}
16901690 r=$(sh_quote "$r")
1691− FFMPEG_CONFIGURATION="${FFMPEG_CONFIGURATION# } ${l}${r}"
1691+ LIBAV_CONFIGURATION="${LIBAV_CONFIGURATION# } ${l}${r}"
16921692 done
16931693
16941694 find_things(){
@@ -1800,7 +1800,7 @@ done · 105 unmodified lines
18001800
18011801 disabled logging && logfile=/dev/null
18021802
1803−echo "# $0 $FFMPEG_CONFIGURATION" > $logfile
1803+echo "# $0 $LIBAV_CONFIGURATION" > $logfile
18041804 set >> $logfile
18051805
18061806 test -n "$cross_prefix" && enable cross_compile
@@ -2495,7 +2495,7 @@ case $target_os in · 688 unmodified lines
24952495 ;;
24962496 esac
24972497
2498−echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$FFMPEG_CONFIGURATION" >config.fate
2498+echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$LIBAV_CONFIGURATION" >config.fate
24992499
25002500 check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
25012501
@@ -3204,9 +3204,9 @@ config_files="$TMPH config.mak" · 702 unmodified lines
32043204
32053205 cat > config.mak <<EOF
32063206 # Automatically generated by configure - do not modify!
3207−ifndef FFMPEG_CONFIG_MAK
3208−FFMPEG_CONFIG_MAK=1
3209−FFMPEG_CONFIGURATION=$FFMPEG_CONFIGURATION
3207+ifndef LIBAV_CONFIG_MAK
3208+LIBAV_CONFIG_MAK=1
3209+LIBAV_CONFIGURATION=$LIBAV_CONFIGURATION
32103210 prefix=$prefix
32113211 LIBDIR=\$(DESTDIR)$libdir
32123212 SHLIBDIR=\$(DESTDIR)$shlibdir
@@ -3295,9 +3295,9 @@ get_version LIBAVFILTER libavfilter/avfilter.h · 82 unmodified lines
32953295
32963296 cat > $TMPH <<EOF
32973297 /* Automatically generated by configure - do not modify! */
3298−#ifndef FFMPEG_CONFIG_H
3299−#define FFMPEG_CONFIG_H
3300−#define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)"
3298+#ifndef LIBAV_CONFIG_H
3299+#define LIBAV_CONFIG_H
3300+#define LIBAV_CONFIGURATION "$(c_escape $LIBAV_CONFIGURATION)"
33013301 #define FFMPEG_LICENSE "$(c_escape $license)"
33023302 #define FFMPEG_DATADIR "$(eval c_escape $datadir)"
33033303 #define CC_TYPE "$cc_type"
@@ -3349,8 +3349,8 @@ LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS) · 45 unmodified lines
33493349 SEEK_TESTS=$(print_enabled -n _test $SEEK_TESTS)
33503350 EOF
33513351
3352−echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH
3353−echo "endif # FFMPEG_CONFIG_MAK" >> config.mak
3352+echo "#endif /* LIBAV_CONFIG_H */" >> $TMPH
3353+echo "endif # LIBAV_CONFIG_MAK" >> config.mak
33543354
33553355 # Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
33563356 cp_if_changed $TMPH config.h
libavcodec/utils.c+1−1
@@ -1035,7 +1035,7 @@ unsigned avcodec_version( void ) · 1034 unmodified lines
10351035
10361036 const char *avcodec_configuration(void)
10371037 {
1038− return FFMPEG_CONFIGURATION;
1038+ return LIBAV_CONFIGURATION;
10391039 }
10401040
10411041 const char *avcodec_license(void)
libavdevice/avdevice.c+1−1
@@ -25,7 +25,7 @@ unsigned avdevice_version(void) · 24 unmodified lines
2525
2626 const char * avdevice_configuration(void)
2727 {
28− return FFMPEG_CONFIGURATION;
28+ return LIBAV_CONFIGURATION;
2929 }
3030
3131 const char * avdevice_license(void)
libavfilter/avfilter.c+1−1
@@ -34,7 +34,7 @@ unsigned avfilter_version(void) { · 33 unmodified lines
3434
3535 const char *avfilter_configuration(void)
3636 {
37− return FFMPEG_CONFIGURATION;
37+ return LIBAV_CONFIGURATION;
3838 }
3939
4040 const char *avfilter_license(void)
libavformat/utils.c+1−1
@@ -51,7 +51,7 @@ unsigned avformat_version(void) · 50 unmodified lines
5151
5252 const char *avformat_configuration(void)
5353 {
54− return FFMPEG_CONFIGURATION;
54+ return LIBAV_CONFIGURATION;
5555 }
5656
5757 const char *avformat_license(void)
libavutil/utils.c+1−1
@@ -31,7 +31,7 @@ unsigned avutil_version(void) · 30 unmodified lines
3131
3232 const char *avutil_configuration(void)
3333 {
34− return FFMPEG_CONFIGURATION;
34+ return LIBAV_CONFIGURATION;
3535 }
3636
3737 const char *avutil_license(void)
libpostproc/postprocess.c+1−1
@@ -94,7 +94,7 @@ unsigned postproc_version(void) · 93 unmodified lines
9494
9595 const char *postproc_configuration(void)
9696 {
97− return FFMPEG_CONFIGURATION;
97+ return LIBAV_CONFIGURATION;
9898 }
9999
100100 const char *postproc_license(void)
libswscale/utils.c+1−1
@@ -53,7 +53,7 @@ unsigned swscale_version(void) · 52 unmodified lines
5353
5454 const char *swscale_configuration(void)
5555 {
56− return FFMPEG_CONFIGURATION;
56+ return LIBAV_CONFIGURATION;
5757 }
5858
5959 const char *swscale_license(void)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t