[TRIVIAL] kdelibs 3_1_BRANCH build fix against alsa-lib 1.0.0pre1

Sergio Visinoni piffio at arklinux.org
Wed Nov 19 22:14:21 GMT 2003


Subject says it all, SND_LIB_MAJOR is set to 1 in the latest
alsa-lib development release.

greetings,
sergio
-------------- next part --------------
--- kdelibs/libkmid/configure.in.in.alsa1	2003-11-19 22:10:13.000000000 +0100
+++ kdelibs/libkmid/configure.in.in	2003-11-19 22:10:55.000000000 +0100
@@ -71,8 +71,8 @@
       #include <alsa/asoundlib.h>
       #endif
     ],[
-      #if (SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9)
-        /* we have ALSA 0.9.x */
+      #if ((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9)) || (SND_LIB_MAJOR == 1)
+        /* we have ALSA 0.9.x or 1.x */
       #else
         #error not ALSA 0.9.x
       #endif


More information about the kde-core-devel mailing list