aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-08-25 12:06:01 +0200
committerJaroslav Kysela <perex@perex.cz>2010-08-25 12:06:01 +0200
commitf85e30ffcf0dc4137778d5d74cb710520240d54f (patch)
treec7b282d27749f5b0657196d03b212c71cb276e4c
parent59c69129168de29f67da3fe7eade1b936f049ec6 (diff)
downloadalsa-driver-build-unstable-f85e30ffcf0dc4137778d5d74cb710520240d54f.tar.gz
configure.in: change CHECK_REQUIRED_KERNEL_HEADER
In some distros, the include/linux/autoconf.h is empty and the contentens is in include/generated/autoconf.h . Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 245f3c9c0..dbdaeae39 100644
--- a/configure.in
+++ b/configure.in
@@ -135,11 +135,11 @@ AC_DEFUN([CHECK_REQUIRED_KERNEL_HEADER], [
$1="$2"
AC_MSG_CHECKING(for kernel $2 $3)
if ! test -r $CONFIG_SND_KERNELDIR/include/$2; then
- if test -z "$kernelbuild" -o ! -f $kernelbuild/include/$2; then
+ if test -z "$kernelbuild" -o ! -s $kernelbuild/include/$2; then
if test -n "$3"; then
$1="$3"
if ! test -r $CONFIG_SND_KERNELDIR/include/$3; then
- if test -z "$kernelbuild" -o ! -f $kernelbuild/include/$3; then
+ if test -z "$kernelbuild" -o ! -s $kernelbuild/include/$3; then
AC_MSG_RESULT(no)
cat << EOF
The file $CONFIG_SND_KERNELDIR/include/$2 does not exist.