From 304a072f86d368431fe0bbbefac3303dc68a1857 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 16 Feb 2007 09:52:39 +0000 Subject: [PATCH] Fixed e100 installation with disabled ENABLE_E100. --- configure.ac | 2 ++ devices/Makefile.am | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 7a4238ed..534fbf3a 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,8 @@ AC_ARG_ENABLE([e100], [enablee100=0] ) +AM_CONDITIONAL(ENABLE_E100, test "x$enablee100" = x1) + #------------------------------------------------------------------------------ # e100 Kernel #------------------------------------------------------------------------------ diff --git a/devices/Makefile.am b/devices/Makefile.am index f1dbda68..62fe81c1 100644 --- a/devices/Makefile.am +++ b/devices/Makefile.am @@ -51,7 +51,9 @@ modules: modules_install: mkdir -p $(DESTDIR)$(LINUX_MOD_PATH) cp $(srcdir)/ec_8139too.ko $(DESTDIR)$(LINUX_MOD_PATH) +if ENABLE_E100 cp $(srcdir)/ec_e100.ko $(DESTDIR)$(LINUX_MOD_PATH) +endif clean-local: $(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean