[FFmpeg-cvslog] r12585 - trunk/configure

diego subversion
Tue Mar 25 16:10:27 CET 2008


Author: diego
Date: Tue Mar 25 16:10:26 2008
New Revision: 12585

Log:
Invert logging variable logic so that it works without setting a default.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Mar 25 16:10:26 2008
@@ -205,15 +205,15 @@ If you think configure made a mistake, m
 version from SVN.  If the latest version fails, report the problem to the
 ffmpeg-user at 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}-$
 
 add_extralibs $osextralibs
 
-enabled logging || logfile=/dev/null
+disabled logging && logfile=/dev/null
 
 echo "# $0 $@" >$logfile
 set >>$logfile




More information about the ffmpeg-cvslog mailing list