]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/changedfiles/files/autofoo.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / changedfiles / files / autofoo.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- changedfiles-1.0-rc1/configure.in~autofoo
7 +++ changedfiles-1.0-rc1/configure.in
8 @@ -9,11 +9,14 @@
9  case "$host" in
10         alpha*-*-linux*-*) AC_DEFINE( IS_ALPHA, 1, [System is DEC alpha based] );;
11         *-linux*) 
12 -               AC_MSG_CHECKING( linux version )
13 -               case `uname -r` in
14 -               *2.4*) AC_MSG_RESULT( [ Supported ] );;
15 -               *) AC_MSG_ERROR( [`uname -r` is an unsupported kernel (only version 2.4 is supported)] );;
16 -               esac;;
17 +               if test x"$cross_compiling" = "x"; then
18 +                       AC_MSG_CHECKING( linux version )
19 +                       case `uname -r` in
20 +                       *2.4*) AC_MSG_RESULT( [ Supported ] );;
21 +                       *) AC_MSG_ERROR( [`uname -r` is an unsupported kernel (only version 2.4 is supported)] );;
22 +                       esac
23 +               fi
24 +               ;;
25  *-solaris*) AC_MSG_WARN( [Solaris port is still experimental, use at your own risk.] ); LIBS="$VAR -lfget -lsocket -lnsl";;
26  *) AC_MSG_ERROR( [$host is an unsuppored platform.] );;
27  esac