aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-10-12 16:21:47 +0200
committerTakashi Iwai <tiwai@suse.de>2021-10-12 16:21:47 +0200
commit3a8f6222405cc8b6d9f4823e5d3570597d26f4d0 (patch)
tree46c6a1d0c681b48f2316907509041f1d44640ffe
parent1ad0f251039b0af491be627e0762d1d29c57fb80 (diff)
downloadsalsa-lib-3a8f6222405cc8b6d9f4823e5d3570597d26f4d0.tar.gz
configure: Rename --enable-libasound with --enable-abi-compat
It's slightly more intuitive. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--README2
-rw-r--r--configure.ac14
2 files changed, 8 insertions, 8 deletions
diff --git a/README b/README
index 0f48491..78eec4b 100644
--- a/README
+++ b/README
@@ -106,7 +106,7 @@ It's disabled as default.
The PCM chmap API support is also optional, can be enabled via
--enable-chmap option.
-With option --enable-libasound, libasound.so will be created as an
+With option --enable-abi-compat, libasound.so will be created as an
opt-in ABI-compatible library with the genuine ALSA-lib.
When --enable-abicheck is given, each open function checks the ABI
diff --git a/configure.ac b/configure.ac
index 8e2c953..2fbd63b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,10 +97,10 @@ AC_ARG_ENABLE(chmap,
[enable chmap API support]),
chmap="$enableval", chmap="no")
-AC_ARG_ENABLE(libasound,
- AS_HELP_STRING([--enable-libasound],
- [build a ABI-compatible libasound.so]),
- libasound="$enableval", libasound="no")
+AC_ARG_ENABLE(abi-compat,
+ AS_HELP_STRING([--enable-abi-compat],
+ [build ABI-compatible library with alsa-lib]),
+ abi_compat="$enableval", abi_compat="no")
AC_ARG_ENABLE(deprecated,
AS_HELP_STRING([--disable-deprecated],
@@ -164,7 +164,7 @@ if test "$everything" = "yes"; then
user_elem="yes"
async="yes"
chmap="yes"
- libasound="yes"
+ abi_compat="yes"
symfuncs="yes"
output_buffer="yes"
support_float="yes"
@@ -220,7 +220,7 @@ else
fi
AC_SUBST(SALSA_HAS_DUMMY_CONF)
-AM_CONDITIONAL(COMPAT_ABI, test "$libasound" = "yes")
+AM_CONDITIONAL(COMPAT_ABI, test "$abi_compat" = "yes")
if test "$markdeprecated" = "yes"; then
SALSA_MARK_DEPRECATED=1
@@ -326,7 +326,7 @@ echo " - TLV (dB) support: $tlv"
echo " - User-space control element support: $user_elem"
echo " - Async handler support: $async"
echo " - PCM chmap API support: $chmap"
-echo " - Make ABI-compatible libasound.so: $libasound"
+echo " - Make ABI-compatible libasound.so: $abi_compat"
echo " - Mark deprecated attribute: $markdeprecated"
echo " - Support string-output via snd_output: $output_buffer"
echo " - Support floating-point: $support_float"