summaryrefslogtreecommitdiffstats
path: root/macros/enable-gcc28.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/enable-gcc28.m4')
-rw-r--r--macros/enable-gcc28.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/enable-gcc28.m4 b/macros/enable-gcc28.m4
new file mode 100644
index 0000000000..5f2496f53d
--- /dev/null
+++ b/macros/enable-gcc28.m4
@@ -0,0 +1,12 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_ENABLE_GCC28,
+[
+AC_ARG_ENABLE(gcc28,
+[ --enable-gcc28 enable use of gcc 2.8.x features],
+[case "${enableval}" in
+ yes) RTEMS_USE_GCC272=no ;;
+ no) RTEMS_USE_GCC272=yes ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
+esac],[RTEMS_USE_GCC272=no])
+])