ESound patch



Hey guys

A short patch to make the Alsa detection if's work if you have more than
one set of headers installed. Before the configure was finding alsa 0.9
headers, and then continueing to find the old alsa 0.5 headers, and in
audio.c the alsa 0.5 file was included before 0.9 so it was breaking.

Can I commit?
iain
-- 
"Everybody thinks of changing humanity and nobody thinks of changing
himself"
	- Leo Tolstoy.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/esound/ChangeLog,v
retrieving revision 1.198
diff -U2 -r1.198 ChangeLog
--- ChangeLog	23 Apr 2002 12:24:58 -0000	1.198
+++ ChangeLog	25 Apr 2002 11:22:15 -0000
@@ -1,2 +1,6 @@
+2002-04-24  Iain <iain ximian com>
+
+	* configure.in: Make the if's in the alsa detection elif's
+
 2002-04-23  Frederic Crozat  <fcrozat mandrakesoft com>
 
Index: configure.in
===================================================================
RCS file: /cvs/gnome/esound/configure.in,v
retrieving revision 1.77
diff -U2 -r1.77 configure.in
--- configure.in	23 Apr 2002 12:24:58 -0000	1.77
+++ configure.in	25 Apr 2002 11:22:15 -0000
@@ -183,12 +183,10 @@
          found_sound=yes
          AC_DEFINE(DRIVER_ALSA)
-      fi
 
-      if test "${ac_cv_header_alsa_asoundlib_h}" = "yes"; then
+      elif test "${ac_cv_header_alsa_asoundlib_h}" = "yes"; then
          found_sound=yes
          AC_DEFINE(DRIVER_ALSA_09)
-      fi
 
-      if test "${ac_cv_header_sys_asoundlib_h}" = "yes"; then
+      elif test "${ac_cv_header_sys_asoundlib_h}" = "yes"; then
          found_sound=yes
          AC_DEFINE(DRIVER_NEWALSA)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]