aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-14 14:45:08 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-14 14:45:08 +0000
commit744d42b129f9806b970111966687910bb2dd591f (patch)
treee5304394d7dd851ea7118bea2def98e60f64b6cd /configure
parent8351949b6f3b8b6993b7e99e7767e3aa553dba9a (diff)
Fix ESD check: use an ESD function to actually check linking and do
not uselessly run resulting binary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24461 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 80b41d757c..cd1a7cb577 100755
--- a/configure
+++ b/configure
@@ -5051,9 +5051,9 @@ if test "$_esd" = auto ; then
cat > $TMPC << EOF
#include <esd.h>
-int main(void) { return 0; }
+int main(void) { int fd = esd_open_sound("test"); return fd; }
EOF
-cc_check `esd-config --libs` `esd-config --cflags` && tmp_run && _esd=yes
+cc_check `esd-config --libs` `esd-config --cflags` && _esd=yes
fi
fi