summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/acinclude.m4
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-10 00:25:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-10 00:25:36 +0000
commit949b61905191188eb1dcf77260404f690c3e6cbe (patch)
tree696498c08f90fcdc9ba25f5c896eeaa62bfd982e /c/src/lib/libbsp/no_cpu/acinclude.m4
parentbfba54ed1c5be001e6aa104b83c2df05c424888c (diff)
downloadrtems-949b61905191188eb1dcf77260404f690c3e6cbe.tar.bz2
2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New file. * configure.in: Use RTEMS_BSP_SUBDIR.
Diffstat (limited to 'c/src/lib/libbsp/no_cpu/acinclude.m4')
-rw-r--r--c/src/lib/libbsp/no_cpu/acinclude.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/no_cpu/acinclude.m4 b/c/src/lib/libbsp/no_cpu/acinclude.m4
new file mode 100644
index 0000000000..cb0977edbb
--- /dev/null
+++ b/c/src/lib/libbsp/no_cpu/acinclude.m4
@@ -0,0 +1,11 @@
+# RTEMS_CHECK_BSPDIR(RTEMS_BSP)
+AC_DEFUN([RTEMS_CHECK_BSPDIR],
+[
+ RTEMS_BSP_ALIAS(ifelse([$1],,[${RTEMS_BSP}],[$1]),bspdir)
+ case "$bspdir" in
+ no_bsp )
+ AC_CONFIG_SUBDIRS([no_bsp]);;
+ *)
+ AC_MSG_ERROR([Invalid BSP]);;
+ esac
+])