--Pd0ReVV5GZGQvF3a Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the attached patch should fix the problem (at least does here). Generated against ARTS_1_1_BRANCH. greetings, sergio --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="arts-1.1.4-alsa1.patch" --- arts/configure.in.in.alsa1x 2003-11-24 12:49:41.000000000 +0100 +++ arts/configure.in.in 2003-11-24 13:53:00.000000000 +0100 @@ -497,6 +497,26 @@ #include #endif ],[ + #if (SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0) + /* we have ALSA 1.x */ + #else + #error not ALSA 1.x + #endif + ], + kde_has_alsa_1_0=yes, + kde_has_alsa_1_0=no) + fi + + if test "x$kde_has_asoundlib" = "xyes"; then + AC_TRY_COMPILE([ + #include "confdefs.h" + #ifdef HAVE_SYS_ASOUNDLIB_H + #include + #endif + #ifdef HAVE_ALSA_ASOUNDLIB_H + #include + #endif + ],[ #if (SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5) /* we have ALSA 0.5.x */ #else @@ -523,6 +543,18 @@ AC_DEFINE(HAVE_SND_PCM_RESUME, 1, [Define if libasound has snd_pcm_resume()])]) fi + if test "x$kde_has_alsa_1_0" = "xyes"; then + LIBASOUND="-lasound" + AC_DEFINE(HAVE_LIBASOUND2, 1, + [Define if you have libasound.so.2 (required for ALSA 0.9.x/1.x support)]) + AC_DEFINE(ALSA_PCM_OLD_SW_PARAMS_API, 1, + [Define if you have alsa 1.x]) + AC_DEFINE(ALSA_PCM_OLD_HW_PARAMS_API, 1, + [Define if you have alsa 1.x]) + AC_CHECK_LIB(asound,snd_pcm_resume,[ + AC_DEFINE(HAVE_SND_PCM_RESUME, 1, + [Define if libasound has snd_pcm_resume()])]) + fi ]) fi AC_SUBST(LIBASOUND) --6c2NcOVqGQ03X4Wi-- --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/wgKQi+6a1gsuN3cRAnIBAJ48DohQ/fL2Ciar+cyy4og4XF0JjgCeMacV G4EvsBan6neeJ4ylWjl+LBA= =s3MO -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--