summaryrefslogtreecommitdiffstats
path: root/cpukit/aclocal/check-bsps.m4
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/aclocal/check-bsps.m4')
-rw-r--r--cpukit/aclocal/check-bsps.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/aclocal/check-bsps.m4 b/cpukit/aclocal/check-bsps.m4
new file mode 100644
index 0000000000..7c450e783f
--- /dev/null
+++ b/cpukit/aclocal/check-bsps.m4
@@ -0,0 +1,13 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
+[dnl
+AC_REQUIRE([RTEMS_TOP])
+
+AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
+if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_ERROR([no])
+fi
+])dnl