summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 11 insertions, 9 deletions
diff --git a/configure b/configure
index e348a860c3..7ff4303015 100755
--- a/configure
+++ b/configure
@@ -6384,13 +6384,14 @@ else
fi
echores "$_bl"
+
echocheck "XviD 3"
if test "$_xvid3" = auto ; then
-cat > $TMPC << EOF
+ cat > $TMPC << EOF
#include <xvid.h>
int main(void) { xvid_init(0, 0, 0, 0); return 0; }
EOF
-_ld_xvid="$_ld_xvid -lxvidcore"
+ _ld_xvid="$_ld_xvid -lxvidcore"
_xvid3=no
cc_check $_ld_xvid $_ld_lm && _xvid3=yes
fi
@@ -6404,6 +6405,7 @@ else
fi
echores "$_xvid3"
+
echocheck "XviD 4"
if test "$_xvid4" = auto ; then
_xvid4=no
@@ -6417,13 +6419,13 @@ EOF
done
fi
- if test "$_xvid4" = yes ; then
- _def_xvid4='#define HAVE_XVID4 1'
- _codecmodules="xvid4 $_codecmodules"
- else
- _def_xvid4='#undef HAVE_XVID4'
- _nocodecmodules="xvid4 $_nocodecmodules"
- fi
+if test "$_xvid4" = yes ; then
+ _def_xvid4='#define HAVE_XVID4 1'
+ _codecmodules="xvid4 $_codecmodules"
+else
+ _def_xvid4='#undef HAVE_XVID4'
+ _nocodecmodules="xvid4 $_nocodecmodules"
+fi
echores "$_xvid4"
if test "$_xvid4" = yes ; then