diff --git a/daemon/configure.ac b/daemon/configure.ac index ed70e4c754c2d05c44ecebbbf458e5723d095b6b..56e149ba0913e672b60695c087481ee88cd0d125 100644 --- a/daemon/configure.ac +++ b/daemon/configure.ac @@ -88,7 +88,7 @@ AM_CONDITIONAL([USE_ANDROID], test "x$ANDROID" = "xyes") PKG_CHECK_MODULES(YAML, [yaml-0.1],, AC_MSG_ERROR([Unable to find yaml])) -if test "xSANDROID" = "xyes"; then +if test "x$ANDROID" = "xyes"; then dnl Check for OpenSL AC_ARG_WITH([opensl], AS_HELP_STRING([--without-opensl], @@ -98,7 +98,6 @@ if test "xSANDROID" = "xyes"; then [AC_CHECK_HEADER(["SLES/OpenSLES.h"], [have_opensl=yes], [have_opensl=no])], [have_opensl=no]) - AC_DEFINE_UNQUOTED([HAVE_OPENSL], `if test "x$have_opensl" = "xyes"; then echo 1; else echo 0; fi`, [Define if you have OpenSL])