mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
Add --disable-alsaconf to configure script
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f63ff476f3
commit
9f9ae68a9d
2 changed files with 18 additions and 1 deletions
|
@ -4,7 +4,13 @@ ALSAMIXER_DIR=alsamixer
|
|||
else
|
||||
ALSAMIXER_DIR=
|
||||
endif
|
||||
SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po
|
||||
if ALSACONF
|
||||
ALSACONF_DIR=alsaconf
|
||||
else
|
||||
ALSACONF_DIR=
|
||||
endif
|
||||
SUBDIRS= include alsactl $(ALSACONF_DIR) $(ALSAMIXER_DIR) amidi amixer \
|
||||
aplay iecset seq speaker-test utils m4 po
|
||||
EXTRA_DIST= TODO gitcompile
|
||||
AUTOMAKE_OPTIONS=foreign
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
|
11
configure.in
11
configure.in
|
@ -29,6 +29,7 @@ AC_PROG_INSTALL
|
|||
AC_PROG_LN_S
|
||||
AM_PATH_ALSA(1.0.16)
|
||||
|
||||
dnl Disable alsamixer
|
||||
CURSESINC=""
|
||||
CURSESLIB=""
|
||||
CURSES_CFLAGS=""
|
||||
|
@ -41,6 +42,16 @@ AC_ARG_ENABLE(alsamixer,
|
|||
esac],[alsamixer=true])
|
||||
AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)
|
||||
|
||||
dnl Disable alsaconf
|
||||
AC_ARG_ENABLE(alsaconf,
|
||||
[ --disable-alsaconf Disable alsaconf packaging],
|
||||
[case "${enableval}" in
|
||||
yes) alsaconf=true ;;
|
||||
no) alsaconf=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaconf) ;;
|
||||
esac],[alsaconf=true])
|
||||
AM_CONDITIONAL(ALSACONF, test x$alsaconf = xtrue)
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
if test x$alsamixer = xtrue; then
|
||||
|
|
Loading…
Reference in a new issue