also update the multiple inclusion guards in config.h|mak
| ... | ... |
@@ -397,7 +397,7 @@ static int warned_cfg = 0; |
| 397 | 397 |
} \ |
| 398 | 398 |
if (flags & SHOW_CONFIG) { \
|
| 399 | 399 |
const char *cfg = libname##_configuration(); \ |
| 400 |
- if (strcmp(FFMPEG_CONFIGURATION, cfg)) { \
|
|
| 400 |
+ if (strcmp(LIBAV_CONFIGURATION, cfg)) { \
|
|
| 401 | 401 |
if (!warned_cfg) { \
|
| 402 | 402 |
fprintf(outstream, \ |
| 403 | 403 |
"%sWARNING: library configuration mismatch\n", \ |
| ... | ... |
@@ -427,7 +427,7 @@ void show_banner(void) |
| 427 | 427 |
program_name, program_birth_year, this_year); |
| 428 | 428 |
fprintf(stderr, " built on %s %s with %s %s\n", |
| 429 | 429 |
__DATE__, __TIME__, CC_TYPE, CC_VERSION); |
| 430 |
- fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n"); |
|
| 430 |
+ fprintf(stderr, " configuration: " LIBAV_CONFIGURATION "\n"); |
|
| 431 | 431 |
print_all_libs_info(stderr, INDENT|SHOW_CONFIG); |
| 432 | 432 |
print_all_libs_info(stderr, INDENT|SHOW_VERSION); |
| 433 | 433 |
} |
| ... | ... |
@@ -1688,7 +1688,7 @@ for v in "$@"; do |
| 1688 | 1688 |
r=${v#*=}
|
| 1689 | 1689 |
l=${v%"$r"}
|
| 1690 | 1690 |
r=$(sh_quote "$r") |
| 1691 |
- FFMPEG_CONFIGURATION="${FFMPEG_CONFIGURATION# } ${l}${r}"
|
|
| 1691 |
+ LIBAV_CONFIGURATION="${LIBAV_CONFIGURATION# } ${l}${r}"
|
|
| 1692 | 1692 |
done |
| 1693 | 1693 |
|
| 1694 | 1694 |
find_things(){
|
| ... | ... |
@@ -1800,7 +1800,7 @@ done |
| 1800 | 1800 |
|
| 1801 | 1801 |
disabled logging && logfile=/dev/null |
| 1802 | 1802 |
|
| 1803 |
-echo "# $0 $FFMPEG_CONFIGURATION" > $logfile |
|
| 1803 |
+echo "# $0 $LIBAV_CONFIGURATION" > $logfile |
|
| 1804 | 1804 |
set >> $logfile |
| 1805 | 1805 |
|
| 1806 | 1806 |
test -n "$cross_prefix" && enable cross_compile |
| ... | ... |
@@ -2495,7 +2495,7 @@ case $target_os in |
| 2495 | 2495 |
;; |
| 2496 | 2496 |
esac |
| 2497 | 2497 |
|
| 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 |
|
| 2499 | 2499 |
|
| 2500 | 2500 |
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic |
| 2501 | 2501 |
|
| ... | ... |
@@ -3204,9 +3204,9 @@ config_files="$TMPH config.mak" |
| 3204 | 3204 |
|
| 3205 | 3205 |
cat > config.mak <<EOF |
| 3206 | 3206 |
# 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 |
|
| 3210 | 3210 |
prefix=$prefix |
| 3211 | 3211 |
LIBDIR=\$(DESTDIR)$libdir |
| 3212 | 3212 |
SHLIBDIR=\$(DESTDIR)$shlibdir |
| ... | ... |
@@ -3295,9 +3295,9 @@ get_version LIBAVFILTER libavfilter/avfilter.h |
| 3295 | 3295 |
|
| 3296 | 3296 |
cat > $TMPH <<EOF |
| 3297 | 3297 |
/* 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)" |
|
| 3301 | 3301 |
#define FFMPEG_LICENSE "$(c_escape $license)" |
| 3302 | 3302 |
#define FFMPEG_DATADIR "$(eval c_escape $datadir)" |
| 3303 | 3303 |
#define CC_TYPE "$cc_type" |
| ... | ... |
@@ -3349,8 +3349,8 @@ LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS) |
| 3349 | 3349 |
SEEK_TESTS=$(print_enabled -n _test $SEEK_TESTS) |
| 3350 | 3350 |
EOF |
| 3351 | 3351 |
|
| 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 |
|
| 3354 | 3354 |
|
| 3355 | 3355 |
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds. |
| 3356 | 3356 |
cp_if_changed $TMPH config.h |