mirror of https://git.ffmpeg.org/ffmpeg.git
config options log patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3582 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eb497825fe
commit
f255e0abfc
1
Makefile
1
Makefile
|
@ -178,6 +178,7 @@ clean: $(CLEANVHOOK)
|
||||||
clean-vhook:
|
clean-vhook:
|
||||||
$(MAKE) -C vhook clean
|
$(MAKE) -C vhook clean
|
||||||
|
|
||||||
|
# Note well: config.log is NOT removed.
|
||||||
distclean: clean
|
distclean: clean
|
||||||
$(MAKE) -C libavcodec distclean
|
$(MAKE) -C libavcodec distclean
|
||||||
rm -f config.mak config.h
|
rm -f config.mak config.h
|
||||||
|
|
|
@ -347,6 +347,11 @@ if test -z "$source_path" -o "$source_path" = "." ; then
|
||||||
source_path_used="no"
|
source_path_used="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
FFMPEG_CONFIGURATION=" "
|
||||||
|
for opt do
|
||||||
|
FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
|
||||||
|
done
|
||||||
|
|
||||||
for opt do
|
for opt do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
--prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
|
--prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
|
||||||
|
@ -1044,8 +1049,11 @@ fi
|
||||||
|
|
||||||
echo "Creating config.mak and config.h"
|
echo "Creating config.mak and config.h"
|
||||||
|
|
||||||
|
date >> config.log
|
||||||
|
echo " $0 $FFMPEG_CONFIGURATION" >> config.log
|
||||||
echo "# Automatically generated by configure - do not modify" > config.mak
|
echo "# Automatically generated by configure - do not modify" > config.mak
|
||||||
echo "/* Automatically generated by configure - do not modify */" > $TMPH
|
echo "/* Automatically generated by configure - do not modify */" > $TMPH
|
||||||
|
echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH
|
||||||
|
|
||||||
echo "prefix=$prefix" >> config.mak
|
echo "prefix=$prefix" >> config.mak
|
||||||
echo "bindir=$bindir" >> config.mak
|
echo "bindir=$bindir" >> config.mak
|
||||||
|
|
1
ffmpeg.c
1
ffmpeg.c
|
@ -3890,6 +3890,7 @@ static void show_banner(void)
|
||||||
{
|
{
|
||||||
printf("ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n",
|
printf("ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n",
|
||||||
LIBAVCODEC_BUILD);
|
LIBAVCODEC_BUILD);
|
||||||
|
printf(" configuration: %s\n", FFMPEG_CONFIGURATION);
|
||||||
printf(" built on " __DATE__ " " __TIME__);
|
printf(" built on " __DATE__ " " __TIME__);
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
printf(", gcc: %s\n", __VERSION__);
|
printf(", gcc: %s\n", __VERSION__);
|
||||||
|
|
Loading…
Reference in New Issue