From 744d42b129f9806b970111966687910bb2dd591f Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 14 Sep 2007 14:45:08 +0000 Subject: 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 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') 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 -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 -- cgit v1.2.3