mirror of
				https://github.com/alsa-project/alsa-tools.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	I previously had a small python script doing the same thing, but it depended on hda-analyzer, which always breaks when something new is added to the codec proc file. I got tired and rewrote it as a small C program instead, which I hope will be a useful addition to alsa-tools. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			283 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			283 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
aclocal $ACLOCAL_FLAGS || exit 1
 | 
						|
automake --foreign --add-missing || exit 1
 | 
						|
autoconf || exit 1
 | 
						|
export CFLAGS='-O2 -Wall -pipe -g'
 | 
						|
echo "CFLAGS=$CFLAGS"
 | 
						|
echo "./configure $@"
 | 
						|
./configure $@ || exit 1
 | 
						|
unset CFLAGS
 | 
						|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
 | 
						|
  make || exit 1
 | 
						|
fi
 |