mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 07:26:31 +01:00
Big renaming - from sound to asound...
This commit is contained in:
parent
c03f55c58f
commit
efd0fa4035
6 changed files with 8 additions and 9 deletions
|
@ -23,7 +23,7 @@ INCLUDE=-I/usr/local/include -I$(TOPDIR)/include
|
|||
COPTS = $(c_opts)
|
||||
COPTS += -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe
|
||||
LINKER=ld
|
||||
SNDLIB=-lsound
|
||||
SNDLIB=-lasound
|
||||
NCURSESINC="<ncurses.h>"
|
||||
NCURSESLIB=-lncurses
|
||||
LN_S=@LN_S@
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/sound.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
@ -36,7 +35,7 @@
|
|||
#endif
|
||||
#include <time.h>
|
||||
|
||||
#include <sys/soundlib.h>
|
||||
#include <sys/asoundlib.h>
|
||||
|
||||
/* example compilation commandline:
|
||||
* clear; gcc -Wall -pipe -O2 alsamixer.c -o alsamixer -lncurses
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/soundlib.h>
|
||||
#include <sys/asoundlib.h>
|
||||
#include "amixer.h"
|
||||
|
||||
#define MIXER_RC ".amixerrc"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/soundlib.h>
|
||||
#include <sys/asoundlib.h>
|
||||
#include "amixer.h"
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <getopt.h>
|
||||
#include <fcntl.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/soundlib.h>
|
||||
#include <sys/asoundlib.h>
|
||||
#include "config.h"
|
||||
#include "formats.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ AC_PROG_LN_S
|
|||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CONFIG_HEADER(include/config.h)
|
||||
AC_CHECK_HEADERS(linux/sound.h sys/soundlib.h)
|
||||
AC_CHECK_HEADERS(linux/asound.h sys/asoundlib.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
|
@ -28,12 +28,12 @@ if test "$myprefix" = "NONE"; then
|
|||
myprefix=$ac_default_prefix
|
||||
fi
|
||||
CFLAGS="-I$myprefix/include"
|
||||
LIBS="-L$myprefix/lib -lsound"
|
||||
LIBS="-L$myprefix/lib -lasound"
|
||||
#echo "CFLAGS=$CFLAGS"
|
||||
#echo "LIBS=$LIBS"
|
||||
AC_MSG_CHECKING(for alsa-lib package)
|
||||
AC_TRY_RUN([
|
||||
#include <sys/soundlib.h>
|
||||
#include <sys/asoundlib.h>
|
||||
void main(void)
|
||||
{
|
||||
snd_cards();
|
||||
|
|
Loading…
Reference in a new issue