From 2c03ec15307b567fd2250fe2a7981a89d19b87a9 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 4 Apr 2002 07:08:41 +0000 Subject: [PATCH] Reverted and fixed AC_TRY_COMPILE --- utils/alsa.m4 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/utils/alsa.m4 b/utils/alsa.m4 index ad4053ca..59d24c1e 100644 --- a/utils/alsa.m4 +++ b/utils/alsa.m4 @@ -2,7 +2,7 @@ dnl Configure Paths for Alsa dnl Some modifications by Richard Boulton dnl Christopher Lansdown dnl Jaroslav Kysela -dnl Last modification: $Id: alsa.m4,v 1.20 2002/04/04 07:07:13 perex Exp $ +dnl Last modification: $Id: alsa.m4,v 1.21 2002/04/04 07:08:41 perex Exp $ dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate. dnl enables arguments --with-alsa-prefix= @@ -73,11 +73,9 @@ no_alsa="" AC_LANG_SAVE AC_LANG_C -AC_TRY_RUN([ +AC_TRY_COMPILE([ #include ], [ -void main(void) -{ /* ensure backward compatibility */ #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR @@ -109,7 +107,6 @@ void main(void) # endif # endif exit(0); -} ], [AC_MSG_RESULT(found.)], [AC_MSG_RESULT(not present.) -- 2.47.1