fixes (hopefully) compilation errors where alsa is not present -- let me know if...
authorAndy Wingo <wingo@pobox.com>
Mon, 3 Sep 2001 03:59:51 +0000 (03:59 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 3 Sep 2001 03:59:51 +0000 (03:59 +0000)
Original commit message from CVS:
fixes (hopefully) compilation errors where alsa is not present -- let me know if
this does not work.

configure.base

index 6055344..1fa433c 100644 (file)
@@ -307,13 +307,13 @@ GST_CHECK_FEATURE(LIBXMMS, [xmms plugin], xmms, [
 
 dnl Check for alsa
 GST_CHECK_FEATURE(ALSA, [alsa plugins], gstalsa, [
-  HAVE_ALSA=yes
   AM_PATH_ALSA(0.9.0, HAVE_ALSA=yes, HAVE_ALSA=no)
-  if test x$HAVE_ALSA = xno; then
-    ALSA_CFLAGS=
-    ALSA_LIBS=
-  fi
 ])
+if test x$HAVE_ALSA = xno; then
+  unset USE_ALSA
+  ALSA_CFLAGS=
+  ALSA_LIBS=
+fi
 
 dnl Check for libaudiofile
 GST_CHECK_FEATURE(LIBAUDIOFILE, [use gdk pixbuf], afsink afsrc, [