OSDN Git Service

maint: remove useless BUILD_LINUX conditional
authorJim Meyering <meyering@redhat.com>
Thu, 12 Jan 2012 16:45:57 +0000 (17:45 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 12 Jan 2012 18:10:00 +0000 (19:10 +0100)
* configure.ac (BUILD_LINUX): Don't set it.
* libparted/Makefile.am (BUILD_LINUX): Remove useless use.

configure.ac
libparted/Makefile.am

index 9f36089..82ffd4a 100644 (file)
@@ -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)
index 828a288..6aeab5a 100644 (file)
@@ -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)