From 3bbc9320791e2768eb0ddda3823cb55ad63f79e1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 4 Nov 2007 15:54:27 +0000 Subject: build-sys: non-linux support Here is a patch that disables linux-specific tools on non-linux targets. Signed-Off-By: Samuel Thibault Signed-Off-By: Karel Zak --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1ea72c6b9..dacc79625 100644 --- a/configure.ac +++ b/configure.ac @@ -292,6 +292,14 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [AC_MSG_NOTICE([Your libc thinks that swapon has 1 arg only.]) ]) +case ${host_os} in + *linux*) + AM_CONDITIONAL([LINUX], [true]) + ;; + *) + AM_CONDITIONAL([LINUX], [false]) + ;; +esac dnl UTIL_SET_ARCH(ARCHNAME, PATTERN) dnl --------------------------------- -- cgit v1.2.3-55-g7522