mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Some reorganization for libtool updates (version 1.4 is now supported).
Added --with-debug parameter for configure.
This commit is contained in:
parent
b67957a08f
commit
66293bc48a
10 changed files with 22 additions and 6760 deletions
13
configure.in
13
configure.in
|
|
@ -18,6 +18,7 @@ dnl Checks for programs.
|
|||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_LIBTOOL_DLOPEN
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
dnl path for linux/asound.h
|
||||
|
|
@ -74,6 +75,18 @@ case "$dir" in
|
|||
esac
|
||||
AC_DEFINE_UNQUOTED(DATADIR, "$dir")
|
||||
|
||||
dnl Check for debug...
|
||||
AC_MSG_CHECKING(for debug)
|
||||
AC_ARG_WITH(debug,
|
||||
[ --with-debug=yes,no library will (not) be compiled with asserts],
|
||||
debug="$withval", debug="yes")
|
||||
if test "$debug" = "yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_DEFINE(NDEBUG)
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
AC_OUTPUT(Makefile doc/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