summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/rtems-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/aclocal/rtems-flags.m4')
-rw-r--r--testsuites/aclocal/rtems-flags.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/aclocal/rtems-flags.m4 b/testsuites/aclocal/rtems-flags.m4
new file mode 100644
index 0000000000..8e034e52c2
--- /dev/null
+++ b/testsuites/aclocal/rtems-flags.m4
@@ -0,0 +1,11 @@
+## $Id$
+##
+## Some hacks to set up RTEMS_*FLAGS
+## Internal macro, not supposed to be explictly used in configure.ac's
+
+AC_DEFUN([_RTEMS_FLAGS],[
+AS_IF([test -n "[$]{$1}"],
+ [RTEMS_$1=[$]{$1}],
+ [RTEMS_$1=$2])
+AC_SUBST([RTEMS_$1])
+])