From: Jaroslav Kysela Date: Fri, 6 Aug 1999 13:56:45 +0000 (+0000) Subject: Lang additions.. X-Git-Tag: v1.0.3~1451 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b998850dc22a2e5235b31549327f665a262d6949;p=alsa-lib.git Lang additions.. --- diff --git a/utils/alsa.m4 b/utils/alsa.m4 index 128a3691..bc34d057 100644 --- a/utils/alsa.m4 +++ b/utils/alsa.m4 @@ -65,6 +65,8 @@ no_alsa="" alsa_min_micro_version=`echo $min_alsa_version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` +AC_LANG_SAVE +AC_LANG_C AC_TRY_COMPILE([ #include ], [ @@ -107,6 +109,7 @@ exit(0); [AC_MSG_RESULT(not present.) AC_MSG_ERROR(Sufficiently new version of libasound not found.)] ) +AC_LANG_RESTORE dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. AC_CHECK_LIB([asound], [snd_cards],,