summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-26 13:01:54 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-26 13:01:54 +0000
commitb0f268310ce941bea6fe4b2be2e2a4d1c400bfab (patch)
tree69401a75f7e85caeda2fd3ad4bc7a76da74dfeb1 /configure
parent46b7fab49fecfe985df44ce26aeaa1edf08488a9 (diff)
downloadmpv-b0f268310ce941bea6fe4b2be2e2a4d1c400bfab.tar.bz2
mpv-b0f268310ce941bea6fe4b2be2e2a4d1c400bfab.tar.xz
Merge config.h variable declarations into libpostproc test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23135 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 5 insertions, 9 deletions
diff --git a/configure b/configure
index 9da847d80f..a9d87bfd32 100755
--- a/configure
+++ b/configure
@@ -6290,18 +6290,14 @@ EOF
fi
fi
_libpostproc=no
+_def_libpostproc='#undef USE_LIBPOSTPROC'
+_def_libpostproc_so='#undef USE_LIBPOSTPROC_SO'
test "$_libpostproc_a" = yes || test "$_libpostproc_so" = yes && _libpostproc=yes
+test "$_libpostproc_a" = yes && _def_libpostproc='#define USE_LIBPOSTPROC 1'
+test "$_libpostproc_so" = yes \
+ && _def_libpostproc_so='#define USE_LIBPOSTPROC_SO 1'
echores "$_libpostproc"
-_def_libpostproc='#undef USE_LIBPOSTPROC'
-_def_libpostproc_so='#undef USE_LIBPOSTPROC_SO'
-if test "$_libpostproc_a" = yes ; then
- _def_libpostproc='#define USE_LIBPOSTPROC 1'
-else
- if test "$_libpostproc_so" = yes ; then
- _def_libpostproc_so='#define USE_LIBPOSTPROC_SO 1'
- fi
-fi
echocheck "md5sum support"
if test "$_md5sum" = yes; then