]> git.pld-linux.org Git - packages/xtables-addons.git/blob - kernelrelease.patch
- updated to 1.36
[packages/xtables-addons.git] / kernelrelease.patch
1 --- xtables-addons-1.36/configure.ac.orig       2011-06-03 16:45:29.000000000 +0200
2 +++ xtables-addons-1.36/configure.ac    2011-06-11 14:23:36.451762729 +0200
3 @@ -40,39 +40,6 @@
4         -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
5         -Winline -pipe";
6  
7 -if test -n "$kbuilddir"; then
8 -       AC_MSG_CHECKING([kernel version that we will build against])
9 -       krel="$(make -sC "$kbuilddir" M=. kernelrelease)";
10 -       kmajor="${krel%%[[^0-9]]*}";
11 -       kmajor="$(($kmajor+0))";
12 -       krel="${krel:${#kmajor}}";
13 -       krel="${krel#.}";
14 -       kminor="${krel%%[[^0-9]]*}";
15 -       kminor="$(($kminor+0))";
16 -       krel="${krel:${#kminor}}";
17 -       krel="${krel#.}";
18 -       kmicro="${krel%%[[^0-9]]*}";
19 -       kmicro="$(($kmicro+0))";
20 -       krel="${krel:${#kmicro}}";
21 -       krel="${krel#.}";
22 -       kstable="${krel%%[[^0-9]]*}";
23 -       kstable="$(($kstable+0))";
24 -       if test -z "$kmajor" -o -z "$kminor" -o -z "$kmicro"; then
25 -               echo "WARNING: Version detection did not succeed. Continue at own luck.";
26 -       else
27 -               echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
28 -               if test "$kmajor" -gt 3 -o "$kmajor" -eq 3 -a "$kminor" -gt 1; then
29 -                       echo "WARNING: You are trying a newer kernel. Results may vary. :-)";
30 -               elif test "$kmajor" -eq 3; then
31 -                       :;
32 -               elif test "$kmajor" -eq 2 -a "$kminor" -ge 29; then
33 -                       :;
34 -               else
35 -                       echo "WARNING: That kernel version is not supported.";
36 -               fi;
37 -       fi;
38 -fi;
39 -
40  AC_SUBST([regular_CPPFLAGS])
41  AC_SUBST([regular_CFLAGS])
42  AC_SUBST([kbuilddir])
This page took 0.030844 seconds and 3 git commands to generate.