summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/multilib.m4
blob: d76c71d26fe71b4c2e4871957decdf5a996bd4bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl This provides configure definitions used for multilib support

dnl parts of these macros are derived from newlib-1.8.2's multilib support

AC_DEFUN([RTEMS_ENABLE_MULTILIB],
[
AC_ARG_ENABLE(multilib,
AC_HELP_STRING([--enable-multilib],
[build many library versions (default=no)]),
[case "${enableval}" in
  yes) multilib=yes ;;
  no)  multilib=no ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
 esac], [multilib=no])dnl

AM_CONDITIONAL(MULTILIB,test x"${multilib}" = x"yes")
])