summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-14 14:34:27 +0000
committerjkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-14 14:34:27 +0000
commita8beb6886f603726fdd2142f97f3129f11846cb8 (patch)
treea708d4811e5825116de89a722347b66e6c781c67 /configure
parentc2404c0f1c9aeae69b8d175809dd1474df7ae12e (diff)
downloadmpv-a8beb6886f603726fdd2142f97f3129f11846cb8.tar.bz2
mpv-a8beb6886f603726fdd2142f97f3129f11846cb8.tar.xz
Use the standard mplayer config test for finding libraries, so that it can
find -laa in non-standard places and for supporting systems with a shared libaa.so git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1516 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 5 insertions, 6 deletions
diff --git a/configure b/configure
index 4eb7f0aa95..118373eddf 100755
--- a/configure
+++ b/configure
@@ -755,11 +755,6 @@ fi
fi
-_aa=no
-if test -s "/usr/local/lib/libaa.a" || test -s "/usr/lib/libaa.a" ; then
- _aa=yes
-fi
-
# Atmosfear: added libcss autodetect
_css=no
if test -s "/usr/local/lib/libcss.so" ; then
@@ -778,6 +773,10 @@ else
fi
fi
+
+_aa=no
+$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -laa > /dev/null 2>&1 && _aa=yes
+
_divx4linux=no
$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ldivxdecore > /dev/null 2>&1 && _divx4linux=yes
@@ -785,7 +784,7 @@ _termcap=no
$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -ltermcap > /dev/null 2>&1 && _termcap=yes
_png=no
-$_cc $_extraincdir $_extralibdir $_extraincdir $_extralibdir $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 && _png=yes
+$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lpng -lz -lm > /dev/null 2>&1 && _png=yes
_ggi=no
$_cc $_extraincdir $_extralibdir $TMPC -o $TMPO -lggi > /dev/null 2>&1 && _ggi=yes