[fedora-arm] [PATCH] gamin: Detect that we are running on Linux in case of linux-gnueabi.

Lennert Buytenhek buytenh at wantstofly.org
Mon Jan 5 09:33:32 UTC 2009


On Mon, Dec 29, 2008 at 03:23:04PM +0530, Kedar Sovani wrote:

> diff --git a/gamin-0.1.9-gnueabi.patch b/gamin-0.1.9-gnueabi.patch
> new file mode 100644
> index 0000000..0701d70
> --- /dev/null
> +++ b/gamin-0.1.9-gnueabi.patch
> @@ -0,0 +1,14 @@
> +diff -urp gamin-0.1.9.orig/configure.in gamin-0.1.9/configure.in
> +--- gamin-0.1.9.orig/configure.in	2007-07-27 10:20:20.000000000 -0400
> ++++ gamin-0.1.9/configure.in	2008-12-17 01:03:47.000000000 -0500
> +@@ -150,6 +150,10 @@ dnl check what OS we're on
> + if test x$target_os = xlinux-gnu; then
> + 	AC_DEFINE([HAVE_LINUX],[],[Whether we are using linux or not])
> + fi
> ++#AM_CONDITIONAL(HAVE_LINUX, test x$target_os = xlinux-gnueabi)
> ++if test x$target_os = xlinux-gnueabi; then
> ++	AC_DEFINE([HAVE_LINUX],[],[Whether we are using linux or not])
> ++fi
> + 
> + AC_ARG_ENABLE(kernel,
> + 	AC_HELP_STRING([--disable-kernel], [Use polling regardless of what kernel-level systems are available]),

Looks OK.  Can you submit this to whatever developer mailing list
gamin uses?




More information about the arm mailing list