summaryrefslogtreecommitdiff
path: root/utils/alsa.m4
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>1999-08-06 13:56:45 +0000
committerJaroslav Kysela <perex@perex.cz>1999-08-06 13:56:45 +0000
commitb998850dc22a2e5235b31549327f665a262d6949 (patch)
treebc752b7225637c3a0483ddc0be2d482f02d1bc0b /utils/alsa.m4
parentc3ed3f72987682431b764f2f6478cc9a96b9eb29 (diff)
downloadalsa-lib-b998850dc22a2e5235b31549327f665a262d6949.tar.gz
Lang additions..
Diffstat (limited to 'utils/alsa.m4')
-rw-r--r--utils/alsa.m43
1 files changed, 3 insertions, 0 deletions
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 <sys/asoundlib.h>
], [
@@ -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],,