summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-19 09:43:55 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-19 09:43:55 +0000
commitf90a25b60079084ea0b65c5072df023d6395f373 (patch)
tree6c451178a7a3c8e9a16ebf9e4f762796809f0bd3 /configure
parent21d2d092b8bd816b9f3365273667c4d6ae951e7a (diff)
downloadmpv-f90a25b60079084ea0b65c5072df023d6395f373.tar.bz2
mpv-f90a25b60079084ea0b65c5072df023d6395f373.tar.xz
png detect bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2994 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 85000cbb88..4f256de913 100755
--- a/configure
+++ b/configure
@@ -1538,6 +1538,10 @@ if test "$_png" = auto ; then
# incompatible with the GNU libpng
echores "disabled on irix (not GNU libpng)"
else
+cat > $TMPC << EOF
+#include <png.h>
+int main(void) { return 0; }
+EOF
cc_check -lpng -lz -lm && _png=yes
echores yes
fi