summaryrefslogtreecommitdiffstats
path: root/aclocal/enable-rtemsbsp.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-02-17 13:50:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-02-17 13:50:24 +0000
commit9078e0974be224b6961ec2b5e415d495f3551c95 (patch)
treefa938a2762a6a0f1a4c89643c40bf00c497a631a /aclocal/enable-rtemsbsp.m4
parent2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-9078e0974be224b6961ec2b5e415d495f3551c95.tar.bz2
2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: DIST_SUBDIRS = $(SUBDIRS). Rework dist-hook. * configure.ac: Reflect changes to RTEMS_ENABLE_RTEMSBSP. * aclocal/enable-rtemsbsp.m4: Add support for --disable-rtemsbsp.
Diffstat (limited to 'aclocal/enable-rtemsbsp.m4')
-rw-r--r--aclocal/enable-rtemsbsp.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/aclocal/enable-rtemsbsp.m4 b/aclocal/enable-rtemsbsp.m4
index 2bf0310ade..d0f0d0cb9c 100644
--- a/aclocal/enable-rtemsbsp.m4
+++ b/aclocal/enable-rtemsbsp.m4
@@ -9,8 +9,9 @@ AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
AC_ARG_ENABLE(rtemsbsp,
[AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[BSPs to include in build])],
-[case "${enableval}" in
- yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp="bsp1 bsp2"]);;
- *) $1=$enableval;;
-esac],[$1=""])
+[case "${enable_rtemsbsp}" in
+ yes ) enable_rtemsbsp="" ;;
+ no ) enable_rtemsbsp="no" ;;
+ *) enable_rtemsbsp="$enable_rtemsbsp" ;;
+esac],[enable_rtemsbsp=""])
])