Add a small "hdajacksensetest" helper

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>
This commit is contained in:
David Henningsson 2014-10-06 15:30:03 +02:00 committed by Takashi Iwai
parent eb6408a791
commit 7a7d94a031
5 changed files with 182 additions and 1 deletions

13
hdajacksensetest/gitcompile Executable file
View file

@ -0,0 +1,13 @@
#!/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