diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-14 14:45:08 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-14 14:45:08 +0000 |
commit | 744d42b129f9806b970111966687910bb2dd591f (patch) | |
tree | e5304394d7dd851ea7118bea2def98e60f64b6cd /configure | |
parent | 8351949b6f3b8b6993b7e99e7767e3aa553dba9a (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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |