fix softfloat handling
cover fix softfloat handling
Hello,
this series of two patches fixes the softfloat handling within the alsa-lib. Please review and consider to apply.
cheers, Marc
PATCH 1/2 configure.in: fix --without-softfloat
Using --without-softfloat or --with-softfloat=no results in using softfloat. This patch fixes the problem.
--- configure.in | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
configure.in +5 -2
@@ -206,9 +206,12 @@ AC_MSG_CHECKING(for softfloat) AC_ARG_WITH(softfloat, AS_HELP_STRING([--with-softfloat], [do you have floating point unit on this machine? (optional)]), - [ AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float]) - softfloat=yes ],) + [case "$withval" in + y|yes) softfloat=yes ;; + *) softfloat=no ;; + esac],) if test "$softfloat" = "yes" ; then + AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float]) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no)
Signature · 1 line
1.6.5.2
PATCH 2/2 simple_none.c needs '#include "config.h"'
From: Michael Olbrich <[email protected]>
simple_none.c uses HAVE_SOFT_FLOAT it has to include config.h for this to work properly.
--- src/mixer/simple_none.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
src/mixer/simple_none.c +1 -0
@@ -40,6 +40,7 @@#include <limits.h> #include <alsa/asoundlib.h> #include "mixer_simple.h" +#include "config.h" #ifndef DOC_HIDDEN
Signature · 1 line
1.6.5.2
Quoted 4 lines · Marc Kleine-Budde
Hello,
this series of two patches fixes the softfloat handling within the alsa-lib. Please review and consider to apply.
Both patches are applied to alsa-lib git repo now. I changed slightly only first patch (removed tab/space combining). Thanks.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
Quoted 9 lines · Jaroslav Kysela
Quoted 4 lines · Marc Kleine-Budde
Hello,
this series of two patches fixes the softfloat handling within the alsa-lib. Please review and consider to apply.
Both patches are applied to alsa-lib git repo now. I changed slightly only first patch (removed tab/space combining). Thanks.
wow, that was fast, tnx
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel