diff options
Diffstat (limited to 'c/src/tests/aclocal/rtems-flags.m4')
-rw-r--r-- | c/src/tests/aclocal/rtems-flags.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/tests/aclocal/rtems-flags.m4 b/c/src/tests/aclocal/rtems-flags.m4 new file mode 100644 index 0000000000..8e034e52c2 --- /dev/null +++ b/c/src/tests/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]) +]) |