mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 23:55:42 +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
|
else
|
||||||
ALSAMIXER_DIR=
|
ALSAMIXER_DIR=
|
||||||
endif
|
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
|
EXTRA_DIST= TODO gitcompile
|
||||||
AUTOMAKE_OPTIONS=foreign
|
AUTOMAKE_OPTIONS=foreign
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
11
configure.in
11
configure.in
|
@ -29,6 +29,7 @@ AC_PROG_INSTALL
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
AM_PATH_ALSA(1.0.16)
|
AM_PATH_ALSA(1.0.16)
|
||||||
|
|
||||||
|
dnl Disable alsamixer
|
||||||
CURSESINC=""
|
CURSESINC=""
|
||||||
CURSESLIB=""
|
CURSESLIB=""
|
||||||
CURSES_CFLAGS=""
|
CURSES_CFLAGS=""
|
||||||
|
@ -41,6 +42,16 @@ AC_ARG_ENABLE(alsamixer,
|
||||||
esac],[alsamixer=true])
|
esac],[alsamixer=true])
|
||||||
AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)
|
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.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
if test x$alsamixer = xtrue; then
|
if test x$alsamixer = xtrue; then
|
||||||
|
|
Loading…
Reference in a new issue