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



In case of building on ARM EABI, the triplet is something like:
armv5tel-redhat-linux-gnueabi. 

Declare HAVE_LINUX in case of linux-gnueabi as well. 

Please consider for inclusion.

Signed-off-by: Kedar Sovani <kedars marvell com>

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]),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]