OSDN Git Service

Lang additions..
authorJaroslav Kysela <perex@perex.cz>
Fri, 6 Aug 1999 13:56:45 +0000 (13:56 +0000)
committerJaroslav Kysela <perex@perex.cz>
Fri, 6 Aug 1999 13:56:45 +0000 (13:56 +0000)
utils/alsa.m4

index 128a369..bc34d05 100644 (file)
@@ -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],,