From 65d888ebe876e14a581df99d318b5f69d04ceb3d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 12 Jan 2012 17:45:57 +0100 Subject: [PATCH] maint: remove useless BUILD_LINUX conditional * configure.ac (BUILD_LINUX): Don't set it. * libparted/Makefile.am (BUILD_LINUX): Remove useless use. --- configure.ac | 1 - libparted/Makefile.am | 3 --- 2 files changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index 9f36089..82ffd4a 100644 --- a/configure.ac +++ b/configure.ac @@ -546,7 +546,6 @@ AC_CHECK_HEADER([execinfo.h], [ ]) AM_CONDITIONAL([COMPILE_FOR_S390], [test "$host_cpu" = s390 || test "$host_cpu" = s390x]) -AM_CONDITIONAL([BUILD_LINUX], [test "$OS" = linux]) dnl check for "check", unit testing library/header PKG_CHECK_MODULES([CHECK], [check >= 0.9.3], have_check=yes, have_check=no) diff --git a/libparted/Makefile.am b/libparted/Makefile.am index 828a288..6aeab5a 100644 --- a/libparted/Makefile.am +++ b/libparted/Makefile.am @@ -9,9 +9,6 @@ SUBDIRS_CHECK += tests endif ARCH_SOURCE = arch/$(OS).c -if BUILD_LINUX -ARCH_SOURCE += arch/$(OS).h -endif AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) -- 2.11.0