summaryrefslogblamecommitdiffstats
path: root/aclocal/enable-inlines.m4
blob: 9852005e06935604c946e57942d5706b4c6b3b70 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

        
                                
                             
                                                                                                                  
                       



                                                                             
  
dnl $Id$

AC_DEFUN([RTEMS_ENABLE_INLINES],
[AC_ARG_ENABLE(rtems-inlines,
AC_HELP_STRING([--enable-rtems-inlines],[enable RTEMS inline functions (default:enabled, disable to use macros)]),
[case "${enableval}" in
  yes) enable_rtems_inlines=yes ;;
  no) enable_rtems_inlines=no ;;
  *)  AC_MSG_ERROR(bad value ${enableval} for enable-rtems-inlines option) ;;
esac],[enable_rtems_inlines=yes])
])