From 7d6ed4aaf291e86819644eac9cef1626fa77d387 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sat, 15 Jul 2006 16:12:57 +0000
Subject: [PATCH] set defaults before showing help

Originally committed as revision 5753 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 186976d532c..2519cf679ee 100755
--- a/configure
+++ b/configure
@@ -304,10 +304,6 @@ filter_out(){
     echo "$@" | sed "s%\\<$pattern\\>%%g"
 }
 
-if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
-    show_help
-fi
-
 # set temporary file name
 if test ! -z "$TMPDIR" ; then
     TMPDIR1="${TMPDIR}"
@@ -664,6 +660,10 @@ else
     source_path="`cd \"$source_path\"; pwd`"
 fi
 
+if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
+    show_help
+fi
+
 FFMPEG_CONFIGURATION=" "
 for opt do
   FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
-- 
GitLab