summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/check-custom-bsp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/aclocal/check-custom-bsp.m4')
-rw-r--r--testsuites/aclocal/check-custom-bsp.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuites/aclocal/check-custom-bsp.m4 b/testsuites/aclocal/check-custom-bsp.m4
new file mode 100644
index 0000000000..de9d61b79e
--- /dev/null
+++ b/testsuites/aclocal/check-custom-bsp.m4
@@ -0,0 +1,10 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,[
+AC_REQUIRE([RTEMS_TOP])
+
+AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
+AS_IF([test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_ERROR([no])])
+])