mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
- unified snd_pcm_hw_params_* functions
- added backward compatibility for older non-compatible functions - added --with-compat-rc3 to configure script to build library backwards compatible with 0.9.0rc3 - added symbol versioning like libc.so.6 - ALSA_0.9 - alsa base - ALSA_0.9.0rc4 - first set of new functions (snd_pcm_hw_params_*)
This commit is contained in:
parent
cabf841f4e
commit
b9343e0834
23 changed files with 1271 additions and 483 deletions
37
configure.in
37
configure.in
|
|
@ -9,7 +9,7 @@ dnl remove API = c+1:0:0
|
|||
dnl *************************************************
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_INIT_AUTOMAKE(alsa-lib, 0.9.0rc3)
|
||||
eval LIBTOOL_VERSION_INFO="2:0:0"
|
||||
eval LIBTOOL_VERSION_INFO="3:0:0"
|
||||
dnl *************************************************
|
||||
AM_CONDITIONAL(INSTALL_M4, test -n "${ACLOCAL}")
|
||||
|
||||
|
|
@ -109,6 +109,18 @@ case "$dir" in
|
|||
esac
|
||||
AC_DEFINE_UNQUOTED(DATADIR, "$dir", [directory containing ALSA configuration database])
|
||||
|
||||
dnl Check for versioned symbols
|
||||
AC_MSG_CHECKING(for versioned symbols)
|
||||
AC_ARG_WITH(versioned,
|
||||
[ --with-versioned=yes,no shared library will (not) be compiled with versioned symbols],
|
||||
versioned="$withval", versioned="yes")
|
||||
if test "$versioned" = "yes"; then
|
||||
AC_DEFINE(VERSIONED_SYMBOLS)
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
dnl Check for debug...
|
||||
AC_MSG_CHECKING(for debug)
|
||||
AC_ARG_WITH(debug,
|
||||
|
|
@ -121,9 +133,17 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
dnl Check for softfloat...
|
||||
AC_MSG_CHECKING(for softfloat)
|
||||
AC_ARG_WITH(softfloat,
|
||||
[ --with-softfloat do you have floating point unit on this machine? (optional)],
|
||||
[ AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float])],)
|
||||
[ AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float])
|
||||
softfloat=yes ],)
|
||||
if test "$softloat" = "yes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
dnl Check for architecture
|
||||
AC_MSG_CHECKING(for architecture)
|
||||
|
|
@ -156,6 +176,19 @@ arm*)
|
|||
;;
|
||||
esac
|
||||
|
||||
dnl Compatibility build, to be removed....
|
||||
AC_MSG_CHECKING(for 0.9.0rc3 compatibility build)
|
||||
AC_ARG_WITH(compat-rc3,
|
||||
[ --with-compat-rc3 build library compatible with 0.9.0rc3],
|
||||
[ AC_DEFINE(COMPATIBILITY_BUILD_RC3, "1", [0.9.0rc3 compatibility build])
|
||||
comp_rc3="yes" ],)
|
||||
if test "$comp_rc3" = "yes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AM_CONDITIONAL(COMPATIBILITY_BUILD_RC3, [test "x$comp_rc3" = xyes])
|
||||
|
||||
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile src/Makefile \
|
||||
src/control/Makefile src/mixer/Makefile src/pcm/Makefile \
|
||||
src/rawmidi/Makefile src/timer/Makefile \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue