OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [aclocal/] [enable-inlines.m4] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
dnl enable-inlines.m4,v 1.6 2001/09/13 13:14:30 joel Exp
2
 
3
AC_DEFUN(RTEMS_ENABLE_INLINES,
4
[AC_ARG_ENABLE(rtems-inlines,
5
AC_HELP_STRING([--enable-rtems-inlines],[enable RTEMS inline functions (default:enabled, disable to use macros)]),
6
[case "${enableval}" in
7
  yes) RTEMS_USE_MACROS=no ;;
8
  no) RTEMS_USE_MACROS=yes ;;
9
  *)  AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
10
esac],[RTEMS_USE_MACROS=no])
11
AC_SUBST(RTEMS_USE_MACROS)dnl
12
 
13
if test x"${RTEMS_USE_MACROS}" = x"yes";
14
then
15
  AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])
16
else
17
  AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])
18
fi
19
 
20
 
21
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.