summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-25 15:10:26 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-25 15:10:26 +0000
commite155a21ad7b87d96c3731728416d891e6d951cf8 (patch)
tree7715833e99096de0b7cd5c365faf3b98bb941a44 /configure
parentf2310b793de33161386f0017bf52b518fb5f36b3 (diff)
Invert logging variable logic so that it works without setting a default.
Originally committed as revision 12585 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 6 insertions, 7 deletions
diff --git a/configure b/configure
index 7fb040de01..f9d418e52c 100755
--- a/configure
+++ b/configure
@@ -205,15 +205,15 @@ If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
EOF
- if enabled logging; then
+ if disabled logging; then
cat <<EOF
-Include the log file "$logfile" produced by configure as this will help
-solving the problem.
+Rerun configure with logging enabled (do not use --disable-logging), and
+include the log this produces with your report.
EOF
else
cat <<EOF
-Rerun configure with logging enabled (do not use --disable-logging), and
-include the log this produces with your report.
+Include the log file "$logfile" produced by configure as this will help
+solving the problem.
EOF
fi
rm -f $TMPC $TMPO $TMPE $TMPS $TMPH
@@ -868,7 +868,6 @@ vhook_extralibs='$ldl'
# default parameters
-enable logging
logfile="config.err"
# installation paths
@@ -1305,7 +1304,7 @@ TMPH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.h"
add_extralibs $osextralibs
-enabled logging || logfile=/dev/null
+disabled logging && logfile=/dev/null
echo "# $0 $@" >$logfile
set >>$logfile