summaryrefslogtreecommitdiffstats
path: root/c/src/make/aclocal/rtems-flags.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-01-05 17:57:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-01-05 17:57:05 +0000
commitc58ba4159ade9347c22146aeafebb20e428d4a37 (patch)
treeb3e5c2411176b6893c5ad47f770bf0ac60e55459 /c/src/make/aclocal/rtems-flags.m4
parent2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c58ba4159ade9347c22146aeafebb20e428d4a37.tar.bz2
2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/rtems-flags.new: New (moved from ../aclocal).
Diffstat (limited to '')
-rw-r--r--c/src/make/aclocal/rtems-flags.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/make/aclocal/rtems-flags.m4 b/c/src/make/aclocal/rtems-flags.m4
new file mode 100644
index 0000000000..8e034e52c2
--- /dev/null
+++ b/c/src/make/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])
+])