mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
configure.in: fix --without-softfloat
Using --without-softfloat or --with-softfloat=no results in using softfloat. This patch fixes the problem. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f75f1da1b7
commit
abac6ff1eb
1 changed files with 5 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue