aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-05-17 05:23:46 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-05-17 05:23:46 +0000
commit93d751a7c3d5c6c1db576460a7f08bd80a0f3bb9 (patch)
treed185959df2d34af436e9da7c37c7759983509aa1 /drivers.m4
parentdb6911f350d69aa5fe72254c3104b5e8e3082b32 (diff)
downloadlcd4linux-93d751a7c3d5c6c1db576460a7f08bd80a0f3bb9.tar.gz
compile error on m68k fixed (debian bug 405898)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@799 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers.m4 b/drivers.m4
index b844b0f..7c7b942 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -420,10 +420,14 @@ if test "$PPM" = "yes"; then
fi
if test "$ROUTERBOARD" = "yes"; then
- TEXT="yes"
- GPIO="yes"
- DRIVERS="$DRIVERS drv_RouterBoard.o"
- AC_DEFINE(WITH_ROUTERBOARD,1,[RouterBoard driver])
+ if test "$has_io_h" = "true"; then
+ TEXT="yes"
+ GPIO="yes"
+ DRIVERS="$DRIVERS drv_RouterBoard.o"
+ AC_DEFINE(WITH_ROUTERBOARD,1,[RouterBoard driver])
+ else
+ AC_MSG_WARN(sys/io.h not found: RouterBoard driver disabled)
+ fi
fi
if test "$SAMPLE" = "yes"; then