This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
| ... | ... |
@@ -399,7 +399,7 @@ static int warned_cfg = 0; |
| 399 | 399 |
} \ |
| 400 | 400 |
if (flags & SHOW_CONFIG) { \
|
| 401 | 401 |
const char *cfg = libname##_configuration(); \ |
| 402 |
- if (strcmp(LIBAV_CONFIGURATION, cfg)) { \
|
|
| 402 |
+ if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
|
|
| 403 | 403 |
if (!warned_cfg) { \
|
| 404 | 404 |
fprintf(outstream, \ |
| 405 | 405 |
"%sWARNING: library configuration mismatch\n", \ |
| ... | ... |
@@ -429,7 +429,7 @@ void show_banner(void) |
| 429 | 429 |
program_name, program_birth_year, this_year); |
| 430 | 430 |
fprintf(stderr, " built on %s %s with %s %s\n", |
| 431 | 431 |
__DATE__, __TIME__, CC_TYPE, CC_VERSION); |
| 432 |
- fprintf(stderr, " configuration: " LIBAV_CONFIGURATION "\n"); |
|
| 432 |
+ fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n"); |
|
| 433 | 433 |
print_all_libs_info(stderr, INDENT|SHOW_CONFIG); |
| 434 | 434 |
print_all_libs_info(stderr, INDENT|SHOW_VERSION); |
| 435 | 435 |
} |
| ... | ... |
@@ -1672,7 +1672,7 @@ for v in "$@"; do |
| 1672 | 1672 |
r=${v#*=}
|
| 1673 | 1673 |
l=${v%"$r"}
|
| 1674 | 1674 |
r=$(sh_quote "$r") |
| 1675 |
- LIBAV_CONFIGURATION="${LIBAV_CONFIGURATION# } ${l}${r}"
|
|
| 1675 |
+ FFMPEG_CONFIGURATION="${FFMPEG_CONFIGURATION# } ${l}${r}"
|
|
| 1676 | 1676 |
done |
| 1677 | 1677 |
|
| 1678 | 1678 |
find_things(){
|
| ... | ... |
@@ -1784,7 +1784,7 @@ done |
| 1784 | 1784 |
|
| 1785 | 1785 |
disabled logging && logfile=/dev/null |
| 1786 | 1786 |
|
| 1787 |
-echo "# $0 $LIBAV_CONFIGURATION" > $logfile |
|
| 1787 |
+echo "# $0 $FFMPEG_CONFIGURATION" > $logfile |
|
| 1788 | 1788 |
set >> $logfile |
| 1789 | 1789 |
|
| 1790 | 1790 |
test -n "$cross_prefix" && enable cross_compile |
| ... | ... |
@@ -2479,7 +2479,7 @@ case $target_os in |
| 2479 | 2479 |
;; |
| 2480 | 2480 |
esac |
| 2481 | 2481 |
|
| 2482 |
-echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$LIBAV_CONFIGURATION" >config.fate |
|
| 2482 |
+echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$FFMPEG_CONFIGURATION" >config.fate |
|
| 2483 | 2483 |
|
| 2484 | 2484 |
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic |
| 2485 | 2485 |
|
| ... | ... |
@@ -3202,9 +3202,9 @@ config_files="$TMPH config.mak" |
| 3202 | 3202 |
|
| 3203 | 3203 |
cat > config.mak <<EOF |
| 3204 | 3204 |
# Automatically generated by configure - do not modify! |
| 3205 |
-ifndef LIBAV_CONFIG_MAK |
|
| 3206 |
-LIBAV_CONFIG_MAK=1 |
|
| 3207 |
-LIBAV_CONFIGURATION=$LIBAV_CONFIGURATION |
|
| 3205 |
+ifndef FFMPEG_CONFIG_MAK |
|
| 3206 |
+FFMPEG_CONFIG_MAK=1 |
|
| 3207 |
+FFMPEG_CONFIGURATION=$FFMPEG_CONFIGURATION |
|
| 3208 | 3208 |
prefix=$prefix |
| 3209 | 3209 |
LIBDIR=\$(DESTDIR)$libdir |
| 3210 | 3210 |
SHLIBDIR=\$(DESTDIR)$shlibdir |
| ... | ... |
@@ -3293,9 +3293,9 @@ get_version LIBAVFILTER libavfilter/avfilter.h |
| 3293 | 3293 |
|
| 3294 | 3294 |
cat > $TMPH <<EOF |
| 3295 | 3295 |
/* Automatically generated by configure - do not modify! */ |
| 3296 |
-#ifndef LIBAV_CONFIG_H |
|
| 3297 |
-#define LIBAV_CONFIG_H |
|
| 3298 |
-#define LIBAV_CONFIGURATION "$(c_escape $LIBAV_CONFIGURATION)" |
|
| 3296 |
+#ifndef FFMPEG_CONFIG_H |
|
| 3297 |
+#define FFMPEG_CONFIG_H |
|
| 3298 |
+#define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)" |
|
| 3299 | 3299 |
#define FFMPEG_LICENSE "$(c_escape $license)" |
| 3300 | 3300 |
#define FFMPEG_DATADIR "$(eval c_escape $datadir)" |
| 3301 | 3301 |
#define CC_TYPE "$cc_type" |
| ... | ... |
@@ -3347,8 +3347,8 @@ LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS) |
| 3347 | 3347 |
SEEK_TESTS=$(print_enabled -n _test $SEEK_TESTS) |
| 3348 | 3348 |
EOF |
| 3349 | 3349 |
|
| 3350 |
-echo "#endif /* LIBAV_CONFIG_H */" >> $TMPH |
|
| 3351 |
-echo "endif # LIBAV_CONFIG_MAK" >> config.mak |
|
| 3350 |
+echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH |
|
| 3351 |
+echo "endif # FFMPEG_CONFIG_MAK" >> config.mak |
|
| 3352 | 3352 |
|
| 3353 | 3353 |
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds. |
| 3354 | 3354 |
cp_if_changed $TMPH config.h |